Open electricgraffitti opened 8 years ago
During deployments, the gem declares that rake ember:install
depends on rake assets:precompile
.
The sequence of EmberCLI Rails rake tasks is:
ember:install
- invokes npm install
(and bower install
if you've declared it as a postInstall
hookember:compile
- invokes ember build
If your capistrano deployment involves executing rake assets:precompile
, an npm install
should be executed.
Do your deployments execute rake assets:precompile
?
Mac OSX (local) Ubuntu 14.04 (server) Ruby 2.2 NPM 2.15.1 Ember CLI 2.7 Rails 3.2.22 EmberCLIRails 0.7.4
Capistrano
When deploying using Capistrano, during asset precomp, I get this error
Its coming from the node_module ember-cli/bin/ember:7:15
My local app has the resolve module and everything works great. So Im not sure why this is failing. Should it not have the resolve package if its running npm install during asset precomp?
Also, I dont see anywhere during deploy in the console where it run NPM Install.
Also in my dev.rb in the config/deploy
I have this path set that points to the nvm install on the server.
Im not sure if this is the place to ask this, so if its not please advise.
Thanks