Ionic v2 error at start


#1

hello, i’m traying to start a new app with $ ionic start AppName sidemenu --v2 and it return this:

One awesome Ionic app coming right up...

Creating Ionic app in folder /Volumes/Macintosh HD/Documentos/Trabajo/Candymedia/WeDoo/Dev Version/app/wedoo based on sidemenu project
Downloading: https://github.com/driftyco/ionic2-app-base/archive/master.zip
[=============================]  100%  0.0s
Downloading: https://github.com/driftyco/ionic2-starter-sidemenu/archive/master.zip
[=============================]  100%  0.0s
Installing npm packages...

Unable to run exec commandError: Command failed: /bin/sh -c npm install
npm WARN package.json @ No repository field.
npm WARN deprecated ionic-gulp-webpack-build@1.0.0: ionic-gulp-webpack-build has been renamed to ionic-gulp-webpack.
npm WARN peerDependencies The peer dependency webpack@1 - 2 || 2.0.6-beta || 2.0.7-beta included from babel-loader will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN deprecated graceful-fs@3.0.8: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated graceful-fs@1.2.3: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm
npm ERR! Darwin 15.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.6
npm ERR! npm  v2.11.2

npm ERR! version not found: left-pad@0.0.3
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /AppName/npm-debug.log
 (CLI v2.0.0-beta.22)

Your system information:

Cordova CLI: 6.0.0
Ionic Version: 2.0.0-beta.3
Ionic CLI Version: 2.0.0-beta.22
Ionic App Lib Version: 2.0.0-beta.12
ios-deploy version: 1.8.2 
ios-sim version: 4.1.1 
OS: Mac OS X El Capitan
Node Version: v0.12.6
Xcode version: Xcode 7.3 Build version 7D175 

What’s this? and how can i make to create an app with sidemenu template


#2

That’s an awfully old nodejs version. Any chance you can try with something newer?


#3

v0.12.6 so you think that’s the problem?


#4

was that. Thanks you!