poetic / ember-cli-cordova

A tool for creating hybrid apps using a combination of ember-cli and cordova
MIT License
442 stars 81 forks source link

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

Open Strutsagget opened 8 years ago

Strutsagget commented 8 years ago

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?

colonelchlorine commented 8 years ago

same issue. grrrr

apreg commented 8 years ago

UP

asselin commented 8 years ago

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

rstoenescu commented 8 years ago

same issue

andykingking commented 8 years ago

:+1:

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.

charliemitchell commented 8 years ago

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

http://stackoverflow.com/a/14840304

kmraditya commented 6 years ago

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