poetic / ember-cli-cordova

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

Build failing on fresh install with starter kit #171

Closed graphicgeek closed 8 years ago

graphicgeek commented 9 years ago

The ember build gives me this error:

Build failed. ENOENT, no such file or directory 'pathtoproject/tmp/concat_with_maps-input_base_path-r0Usy0UC.tmp/0/bower_components/hammerjs/hammer.js'

I'm on iOS Yosemite (10.10.5) and have: cordova: 5.0.0 ember: 1.13.8 node: 0.12.7 npm: 2.13.4

graphicgeek commented 9 years ago

I don't know why this error would be happening on a fresh install, but I was able to fix it by going into the project directory and running:

bower install hammerjs

BryanH commented 8 years ago

Gonna close this because it is old. If it is still happening, please open a new issue and include steps to recreate.

aegyed91 commented 8 years ago

@graphicgeek @BryanH yes, this still exists

the problem is when you run ember generate cordova-starter-kit it doesn't run bower install hammerjs --save

rjbain commented 8 years ago

@tsm91 Thank you! That fixed the problem for me.

alexblom commented 8 years ago

Closing this. Please open again if you are having challenges.

charliemitchell commented 8 years ago

I am having the same issue, I had to bower install hammerjs, then rename it to hammer.js because bower was installing it as bower_components/hammerjs and broccoli is looking for bower_components/hammer.js/. This was also a fresh install. If you guys won't fix, maybe make a note of it in the README, I vote for the fix though...

BryanH commented 8 years ago

@charliemitchell Please submit a pull request and we'll merge it in

runspired commented 8 years ago

@BryanH @charliemitchell this is an incorrect fix, but also you know there's now ember-cordova :D

runspired commented 8 years ago

To be more clear, the reason this is an incorrect fix is that the starter kit is locked to old versions of ember-gestures et all, and hammer.js not hammerjs should have been installed by bower. There was an unfortunate hang up where both are now available on bower.

charliemitchell commented 8 years ago

Yes, I opted for ember-cordova. Yes, that's unfortunate, but it happens. Ultimately, my comment above may help others who run into the same problem, if you guys want to add a note to the README, cool, I'll leave it up to you as I'm moving on to ember-cordova.