ionic-cli: Error with start undefined
updated Ionic and version shows 2.1.0
Then I tried to create a project using ionic start MyApp blank --v2
Then it created the folder and started downloading the master.zip
Then it errored out saying this.
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
Mind letting us know? https://github.com/driftyco/ionic-cli/issues
I am using Node version 6.7.0 and npm version 3.10.6
Anyone else having issues.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 34 (2 by maintainers)
So I tried installing each package in the package.json one at at time.
npm install ionic-angular npm install ionicons ect
I was able to install every package except @ionic/app-scripts
seems to be missing alot of npm-cache packages
npm ERR! not a package C:\Users\User_2\AppData\Roaming\npm-cache\aproba\1.0.4\package.tgz npm ERR! not a package C:\Users\User_2\AppData\Roaming\npm-cache\console-control-strings\1.1.0\package.tgz ect
However I checked and the files are there.
I tried to just install aproba
npm install aproba and got an error
so I did npm cache clear
and tried again and this time aproba installed.
I then tried to install all again and this time it worked. npm install
Not sure why I need to clear my cache as I just did this a couple days ago. But try it and see if that helps anyone else. 😃