Reputation: 367
I would like to start a new cordova project on Windows 10
I run the command
cordova create MyApp com.myapp myapp
I am getting the following message
Creating a new cordova project.
Could not find directory : C:\Program Files\nodejs\node_modules\cordova\node_modules\cordova-lib\node_modules\cordova-app-hello-world
My stack : node 4.2.1 npm 3.3.8 cordova 5.3.3
How can I fix it?
Upvotes: 2
Views: 2186
Reputation: 71
The same goes for osx just :
cd /usr/local/lib/node_modules/cordova/node_modules/cordova-lib
npm install
I'm just wondering why this is not done when installing cordova.
Upvotes: 7
Reputation: 367
The cordova-lib node_modules repository is empty !
Run command
npm install
to the repository
C:\Program Files\nodejs\node_modules\cordova\node_modules\cordova-lib\
Upvotes: 6