Problem starting new Ionic project with latest npm, Get and Node.jd


#1

Dears,
am getting this each time am trying to Start new ionic project
Where Am using the following:
Windows 10
Node V.7.1.0
git V 2.10.2.windows.1
npm V. 3.10.9
Ionic V 2.1.7

Can anyone advice?

Thanks in Advance :slight_smile:

Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip
[=============================] 100% 0.0s
Downloading: https://github.com/driftyco/ionic-starter-tabs/archive/master.zip
[=============================] 100% 0.0s
Installing npm packages…
npm WARN deprecated gulp-minify-css@0.3.13: Please use gulp-clean-css
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use ‘npm ls graceful-fs’ to find it in the tree.
npm WARN prefer global node-gyp@3.4.0 should be installed with -g

node-sass@3.11.2 install D:\MobileApplication_Ionic\B1\node_modules\node-sass
node scripts/install.js

Start downloading binary at https://github.com/sass/node-sass/releases/download/v3.11.2/win32-x64-51_binding.node
Binary downloaded and installed at D:\MobileApplication_Ionic\B1\node_modules\node-sass\vendor\win32-x64-51\binding.node

node-sass@3.11.2 postinstall D:\MobileApplication_Ionic\B1\node_modules\node-sass
node scripts/build.js

“D:\MobileApplication_Ionic\B1\node_modules\node-sass\vendor\win32-x64-51\binding.node” exists.
testing binary.
Binary is fine; exiting.
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


#2

It’s a known issue with how npm and Node talk to each other. Downgrade your Node to the most recent LTS (6.9.1 I think ). Optionally, upgrade your npm to 3.10.10 with npm install npm@next-3. Uninstall ionic, clean your npm cache, and reinstall ionic.


#3

finally its worked, many thanks @AaronSterling … U Just Made my day :slight_smile:
by the way i didnt update the npm, so it can work with old version too like you said