poetic/ember-cli-cordova

Can't install /cordova-app-hello-world

Opened this issue · 7 comments

Hi

I get this error on running generate on a MAc with cordova 5.3.1 and

ember -v
Future versions of Ember CLI will not support v4.1.0. Please update to Node 0.12 or io.js.
version: 1.13.8
node: 4.1.0
npm: 2.13.4
os: darwin x64

ember generate cordova-init se.my.app

Could not find directory: /Users/MyUser/.node/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/cordova-app-hello-world

indeed it's not there but here

/Users/MyUser/.node/lib/node_modules/cordova/node_modules/cordova-app-hello-world

What can be the cause of the double folder structure?

same issue. grrrr

apreg commented

UP

I think this is related to using npm v3. It worked OK when I installed with npm v2.

same issue

👍

Xandor's comment here did the trick for me.

If I cd to ...cordova-lib/ and run sudo npm install then cordova create hello works.

judging by where npm is looking, I believe this answer may be able to help.

http://stackoverflow.com/a/14840304

it is working well, but after cordova project creation, while trying to run app in android device is not executing(cordova run android), tried with emulator, browser but no where i m getting.
I have added the android platform

it is not giving any error message