--v2 tutorial exception
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
Could you provide me with the output from ionic info from within your project directory? Thanks, this should help in troubleshooting.
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
revert back to npm install -g [email protected]
Many people reporting this issue with 2.0.0-beta.25 or above
there are few things you need to do to upgrade / update
-
upgrade nodejs
brew upgrade node -
upgrade npm
npm install -g npm -
set new registry
npm set registry http://registry.npmjs.org
Closing this as a duplicate of #1013.