ionic error at start app

0

I'm starting my studies with ionic v2. I updated the version of ionic to v2 but when I run the command ionic start wiltonfinances blank --v2 and an error message is displayed.

View the information displayed on the console:

MINGW64

wilton@WILTONPROCOPIO MINGW64  /c/projetocordova (master) 
$ ionic start wiltonfinances blank --v2 

One awesome Ionic app coming right up... 

Creating Ionic app in folder C:\projetocordova\wiltonfinances based on blank project 

Downloading: https://github.com/driftycolionic2-app-base/archive/master.zip 

Downloading: https://github.com/driftyco/ionic2-starter-blank/archive/master.zip 

Installing npm packages... 

Unable to run spawn commandError: spawn npm ENOENT (CLI v2.0.0-beta.23) 

Your system information:

Cordova CLI: 4.2.0 
Gulp version: CLI version 3.9.0 
Gulp local: 
Ionic CLI Version: 2.0.0-beta.23 
Ionic App Lib Version: 2.0.0-beta.13
OS: 
Node Version: v4.4.1 

Error

  

Unable to run spawn commandError: spawn npm ENOENT (CLI   v2.0.0-beta.23)

You can also view an error message by clicking here .

    
asked by anonymous 26.03.2016 / 19:03

1 answer

0

Good morning,

this link ENOENT error when doing ionic start

apparently the same error occurs, according to the answer accepted by the author, the solution was this:

"I have exactly the same problem. It worked in beta 22.

Reverting to the previous beta solved the problem:

install npm -g [email protected] "

I hope I have helped!

    
30.03.2016 / 15:53