ionic-cli icon indicating copy to clipboard operation
ionic-cli copied to clipboard

Error with start undefined

Open TShelton41 opened this issue 10 years ago • 34 comments

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.

TShelton41 avatar Sep 28 '16 19:09 TShelton41

have the same issue

Cordova CLI: 6.3.1 Gulp version: CLI version 3.9.0 Gulp local: Ionic CLI Version: 2.1.0 Ionic App Lib Version: 2.1.0-beta.1 OS: Node Version: v6.3.1

meeximum avatar Sep 28 '16 19:09 meeximum

Same problem here...

Node version: 6.6.0 npm version: 3.10.3

and here...

Node version: 4.6.0 npm version: 2.15.9

Simpler1 avatar Sep 28 '16 19:09 Simpler1

Same here, at first it was an error with GIT but I installed the latest version of Windows Git (https://git-for-windows.github.io/). That fixed the git error and and now getting the same error as everyone else

Cordova CLI: 6.3.1 Gulp version: CLI version 3.9.1 Gulp local: Ionic CLI Version: 2.1.0 Ionic App Lib Version: 2.1.0-beta.1 OS: Node Version: v6.6.0

glashtin avatar Sep 28 '16 20:09 glashtin

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. :)

glashtin avatar Sep 28 '16 20:09 glashtin

Same problem here... xD

edy-ap avatar Sep 29 '16 01:09 edy-ap

ionic 2 RC Released. Yeeahhh!!!!

edy-ap avatar Sep 29 '16 02:09 edy-ap

how to solution?

nuote avatar Sep 29 '16 02:09 nuote

Same problem,懵逼

nuote avatar Sep 29 '16 02:09 nuote

The problem is that liberated the Ionic RC 2 will soon be solved.

edy-ap avatar Sep 29 '16 02:09 edy-ap

http://blog.ionic.io/announcing-the-ionic-2-release-candidate/

edy-ap avatar Sep 29 '16 02:09 edy-ap

Yeeahhh!thanks

nuote avatar Sep 29 '16 02:09 nuote

yes, i am exited

edy-ap avatar Sep 29 '16 02:09 edy-ap

I'm using ionic1 now,

nuote avatar Sep 29 '16 02:09 nuote

Deberias probar Ionic2, es mejor

edy-ap avatar Sep 29 '16 02:09 edy-ap

You should try Ionic 2 is better

edy-ap avatar Sep 29 '16 02:09 edy-ap

Ionic1 and ionic2 can be generic?

nuote avatar Sep 29 '16 03:09 nuote

Cross platform?

edy-ap avatar Sep 29 '16 05:09 edy-ap

ios and android

nuote avatar Sep 29 '16 05:09 nuote

yes

edy-ap avatar Sep 29 '16 06:09 edy-ap

is very powerful

edy-ap avatar Sep 29 '16 06:09 edy-ap