failure to install ionic --v2
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
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.
ok thanks :)
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?
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!