Ionic 2 project creation

Getting below error while creating ionic 2 project

C:\Users\sairam.j>ionic start myApp --v2 --ts
Creating Ionic app in folder C:\Users\sairam.j\myApp based on tabs project
Downloading: https://github.com/driftyco/ionic2-app-base/archive/master.zip
[=============================] 100% 0.0s
Downloading: https://github.com/driftyco/ionic2-starter-tabs/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

And this is the cli version I’m using-
C:\Users\sairam.j>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

i found solution for this on stack overflow

you should install git on your system
from git command line tool you can install ionic project

1 Like