diegonetto / generator-ionic

Build hybrid mobile apps using the Ionic Framework
MIT License
1.74k stars 336 forks source link

How to initilize the project again from the 'git clone' #236

Open dinesh-cspl opened 9 years ago

dinesh-cspl commented 9 years ago

I have created ionic project with generator-ionic and push the project to git ,

So how can i download and start the project from another location?

I tried to use command "yo ionic" , but using this i go the following error

{ [CordovaError: Current working directory is not a Cordova-based project.] name: 'CordovaError', message: 'Current working directory is not a Cordova-based project.' } ✖ Please runyo ionicin an empty directory, or in that of an already existing cordova project.

So I tried command "npm install"

In this also i got the following error

npm WARN unmet dependency /dinesh/WorkSpace/OfficeWork/Medfolio/git/medgenie/node_modules/grunt-contrib-jshint/node_modules/jshint requires lodash@'3.7.x' but will load npm WARN unmet dependency /dinesh/WorkSpace/OfficeWork/Medfolio/git/medgenie/node_modules/lodash, npm WARN unmet dependency which is version 3.1.0 npm WARN unmet dependency /dinesh/WorkSpace/OfficeWork/Medfolio/git/medgenie/node_modules/cordova/node_modules/cordova-lib/node_modules/cordova-js/node_modules/browserify requires through2@'^1.0.0' but will load npm WARN unmet dependency /dinesh/WorkSpace/OfficeWork/Medfolio/git/medgenie/node_modules/cordova/node_modules/cordova-lib/node_modules/through2, npm WARN unmet dependency which is version 0.6.3

Any solution ?