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

failure to install ionic --v2

Open hasimashari opened this issue 10 years ago • 4 comments

ionic start MyIonic2Project tutorial --v2 Creating Ionic app in folder D:\cmder_mini\config\profile.d\MyIonic2Project based on tutorial project Downloading: https://github.com/driftyco/ionic2-app-base/archive/master.zip [=============================] 100% 0.0s Downloading: https://github.com/driftyco/ionic2-starter-tutorial/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

Mind letting us know? https://github.com/driftyco/ionic-cli/issues

hasimashari avatar Oct 04 '16 01:10 hasimashari

I had the exact same issue, a hint here solved it: https://github.com/driftyco/ionic-cli/issues/1463

Try to install Git for Windows.

klaus-kuplen avatar Oct 04 '16 20:10 klaus-kuplen

ok thanks :)

hasimashari avatar Oct 05 '16 04:10 hasimashari

Hello, I get the same error on the mac platform. Just installed the default git package. Problem still occurs... Any ideas? Thanks!

Running --verbose shows:

Running exec command: npminstall npm ERR! git clone --template=/Users/Gope/.npm/_git-remotes/_templates --mirror [email protected]:driftyco/localforage-cordovasqlitedriver.git /Users/Gope/.npm/_git-remotes/git-github-com-driftyco-localforage-cordovasqlitedriver-git-9803562a61c2172a69f3475f97e98922c0b49ac0-97e37af2: Cloning into bare repository '/Users/Gope/.npm/_git-remotes/git-github-com-driftyco-localforage-cordovasqlitedriver-git-9803562a61c2172a69f3475f97e98922c0b49ac0-97e37af2'...

I have no idea why?

Gope avatar Oct 05 '16 12:10 Gope

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