ionic-cli icon indicating copy to clipboard operation
ionic-cli copied to clipboard

Running command npm install failed

Open ArjunAtlast opened this issue 9 years ago • 3 comments

I got this error message while starting the tutorial project.

Running command - failed!
[ERROR] An error occurred while running npm install --save-dev --save-exact
        @ionic/cli-plugin-ionic-angular@latest (exit code 1):
        
        npm ERR! Unexpected end of input at 1:47414
        npm ERR!
        n":{"uglifyjs":"bin/uglifyjs"},"directories":{},"dist":{"shasum":"5cc
        npm ERR!
        ^
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/arjun/.npm/_logs/2017-07-04T06_30_54_267Z-debug.log

ArjunAtlast avatar Jul 04 '17 06:07 ArjunAtlast

What command were you running in the command line when this happened?

janpio avatar Jul 05 '17 16:07 janpio

I guess the issue was with the node version 8. I downgraded to node 6 and everything worked fine.

ArjunAtlast avatar Jul 09 '17 04:07 ArjunAtlast

@ArjunAtlast what version of node??? because v6.13.0 got me errors.

roseliux avatar Feb 17 '18 20:02 roseliux