windows - ionic 2 启动失败,生成的命令出错

标签 windows ionic-framework ionic2

已在 Windows 7 上安装了 ionic 2 beta

npm install -g ionic@beta

似乎安装正常。这是 2.0.0-beta.25

当我尝试创建一个项目时

ionic start test tabs --v2 --ts

它在 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

将不胜感激任何帮助...

最佳答案

我也遇到过类似的问题。通过运行以下命令恢复到 2.0.0-beta.22:

npm 安装-g ionic@2.0.0-beta.22

很多人用 2.0.0-beta.25 报告这个问题

关于windows - ionic 2 启动失败,生成的命令出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36752157/

相关文章:

javascript - 谷歌打包应用原生消息

C++:跟踪耗时

c - 通过 mingw 编译 win32 项目时缺少 sal.h

ionic-framework - ionic 模态在另一个模态后面打开

ionic2 - 有没有办法给 <ion-grid> 提供间距

Angular 4 - 属性值未在 View 中更新

windows - Windows : Failed to set permissions of path 中的 Nutch

javascript - 错误代码 : "auth/internal-error" message: "Photo URL too long." Prototype N

javascript - Cordova SQLite 保存 BLOB

javascript - 如何在 Ionic 2 应用程序中使用 MathJax