Npminstall issue

Anybody else got this error in the latest r01?
I have tried to create a new blank project, but it doesnt seem to be able to unpack any npm package?

C:\Phoneapp>ionic start --v2 myApp
Creating Ionic app in folder C:\Phoneapp\myApp based on tabs project
[=============================] 100% 0.0s
[=============================] 100% 0.0s
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:

Mind letting us know?

I have tried

  • both node-v6.7.0-x64 and node-v4.6.0-x64.
  • update npm to version 3.1.0.
  • uninstall nodejs and removed the npm and npm-cache folder in roaming
  • reinstall everything from scratch and still get this message.

my ionic info:
Cordova CLI: 6.3.1
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
Node Version: v4.6.0
(I reverted it back to 4.6.0 because its the only version that works with beta 11 for me.)

Any ideas?

Hello, there.

Try “ionic start project_name blank --v2 --verbose”

“–verbose” will give you ideas on how to fix the problems.

For instance, if it produce ‘error’ on “git clone …” or something, then you install git and put it in ‘%PATH%’.

Hope this helps.

1 Like

This worked! Much appreciated!! Save me some headache!! :grinning:
Turns out I was missing git. Odd, beta 11 didnt require it?