Ionic start 创建项目报错 Error with start undefined

转自:http://blog.csdn.net/wenzigui_qy/article/details/52874542

在Installing npm packages的时候报错,如下:

 

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  

查看了一些文档,更新了node.js到最新版还是不行。之后卸载了npm uninstall -g ionic ,再重新安装npm install -g ionic。

之后运行npm install -g npm命令。

ionic start app成功创建了

主要是转载他们的文章,写了自己的解决过程,仅供大家参考。。

 

posted @ 2017-02-10 09:47  qifan  阅读(703)  评论(0编辑  收藏  举报