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

error with the spawned command: npminstall

Open bazigatabassum opened this issue 10 years ago • 11 comments

ionic start ExampleProject blank --v2

Creating Ionic app in folder C:\UsersDELL\ExampleProject based on bla nk project Downloading: https://github.com/driftyco/ionic2-app-base/archive/master.zip [=============================] 100% 0.0s Downloading: https://github.com/driftyco/ionic2-starter-blank/archive/master.zip

[=============================] 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: undefined

Kindly suggest the stable version to work on further....

bazigatabassum avatar Sep 29 '16 10:09 bazigatabassum

same as #1424

meeximum avatar Sep 29 '16 11:09 meeximum

Could you provide me with the output from ionic info from within your project directory? Thanks, this should help in troubleshooting.

jthoms1 avatar Sep 29 '16 13:09 jthoms1

same problem

huichogil avatar Sep 29 '16 16:09 huichogil

hi........here is the info regarding ionic.

Your system information:

Cordova CLI: 6.3.1 Ionic CLI Version: 2.0.0-beta.37 Ionic App Lib Version: 2.0.0-beta.20 OS: Windows 7 SP1 Node Version: v6.3.1

bazigatabassum avatar Sep 30 '16 04:09 bazigatabassum

Hi. You can use "verbose" option (--verbose) You use CMD? You have to have Git installed. You can use "Git Shell" for exemple.

DoFabien avatar Sep 30 '16 08:09 DoFabien

i tried with --verbose but same issue exist.. yes i do use cmd ... will it work with git?

bazigatabassum avatar Sep 30 '16 08:09 bazigatabassum

Yes it work with Git Shell for me.

With cmd (--verbose) I have this message : npm ERR! not found: git

DoFabien avatar Sep 30 '16 08:09 DoFabien

Related #1440

ramonornela avatar Sep 30 '16 19:09 ramonornela

See step 2 https://github.com/driftyco/ionic/blob/master/CHANGELOG.md#steps-to-upgrade-to-rc0

Thanks

ramonornela avatar Sep 30 '16 19:09 ramonornela

ionic info

Your system information:

Cordova CLI: 6.3.1 Ionic CLI Version: 2.1.0 Ionic App Lib Version: 2.1.0-beta.1 OS: Windows 7 SP1 Node Version: v6.7.0

hasimashari avatar Oct 04 '16 02:10 hasimashari

We recently released a new version of the CLI that should allow us to gather more insight into NPM issues. Could you please update your CLI to at least 2.1.4?

npm install -g ionic@latest

Thank you!

jthoms1 avatar Oct 26 '16 21:10 jthoms1