2016-08-16 63 views
0

我安裝了成功安裝的離子v 1.3(意味着安裝過程中沒有錯誤)。安裝時,當我跑以下命令離子1.3不啓動新應用程序

ionic start myApp tabs 

後則給出了下面的輸出

Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip 
[=============================] 100% 0.0s 
Downloading: https://github.com/driftyco/ionic-starter-tabs/archive/master.zip 
[=============================] 100% 0.0s 
Installing npm packages... 
Error with start undefined 
Error Initializing app: There was an error with the spawned command: npminstall 
There was an error with the spawned command: npminstall 
Caught exception: 
undefined 

然後我也是項目目錄

ionic serve 

這給了我下面的輸出

運行下面的命令
Couldn't find ionic.config.json file. Are you in an Ionic project? 

我也卸載並重新安裝離子,但仍然出現以上錯誤。

我該如何解決這些問題?

回答

相關問題