Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ionic 2 start fails with error with the spawned command

have installed ionic 2 beta on windows 7

npm install -g ionic@beta

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

when I try to create a project

ionic start test tabs --v2 --ts

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...

like image 359
user6231846 Avatar asked Apr 20 '16 18:04

user6231846


2 Answers

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

npm install -g [email protected]

Many people reporting this issue with 2.0.0-beta.25

like image 56
dheeraj Avatar answered Nov 14 '22 07:11

dheeraj


For me the problem was in npm... After updating npm install -g npm it to v3.10 everything worked fine.

like image 2
error505 Avatar answered Nov 14 '22 05:11

error505