2016-08-16 52 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? 

我也卸载并重新安装离子,但仍然出现以上错误。

我该如何解决这些问题?

回答