离子2启动失败,生成的命令出错 [英] ionic 2 start fails with error with the spawned command

查看:136
本文介绍了离子2启动失败,生成的命令出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows 7上安装了离子2测试版

have installed ionic 2 beta on windows 7

npm install -g ionic@beta

似乎安装好了。当我尝试创建项目时,它是2.0.0-beta.25

seems to install ok. it's 2.0.0-beta.25

ionic start test tabs --v2 --ts

安装npm包失败...位于

it fails on the Installing npm packages ... bit with

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

非常感谢任何帮助.. 。

would appreciate any help...

推荐答案

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

I too faced the similar problem. Revert to 2.0.0-beta.22 by running the following command:

npm install -g ionic@2.0.0-beta.22

npm install -g ionic@2.0.0-beta.22

许多人使用2.0.0-beta.25报告此问题

Many people reporting this issue with 2.0.0-beta.25

这篇关于离子2启动失败,生成的命令出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆