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

--v2 tutorial exception

Open pbhowmic opened this issue 10 years ago • 5 comments

Throws the following & ends

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 Caught exception: undefined

pbhowmic avatar Jun 18 '16 19:06 pbhowmic

Could you provide me with the output from ionic info from within your project directory? Thanks, this should help in troubleshooting.

jthoms1 avatar Jun 21 '16 14:06 jthoms1

I'm having the same error on 2.0.0-beta.31

This is my info: Your system information:

Cordova CLI: 6.0.0 Gulp version: CLI version 3.9.1 Gulp local:
Ionic CLI Version: 2.0.0-beta.31 Ionic App Lib Version: 2.0.0-beta.17 ios-deploy version: Not installed ios-sim version: 5.0.6 OS: Mac OS X El Capitan Node Version: v5.5.0 Xcode version: Xcode 7.3.1 Build version 7D1014

gadld avatar Jun 22 '16 19:06 gadld

revert back to npm install -g [email protected]

Many people reporting this issue with 2.0.0-beta.25 or above

stirumala76 avatar Jun 23 '16 21:06 stirumala76

there are few things you need to do to upgrade / update

  1. upgrade nodejs

    brew upgrade node
    
  2. upgrade npm

    npm install -g npm
    
  3. set new registry

    npm set registry http://registry.npmjs.org
    

3dd13 avatar Jun 26 '16 10:06 3dd13

Closing this as a duplicate of #1013.

jthoms1 avatar Jul 06 '16 20:07 jthoms1