Vote count:
0
I am trying to deploy a Sails.JS app to Heroku with asset injection (--linker option),
//Use the activityOverlord example:
git clone http://ift.tt/1kM3d1g
npm install
//Push the distribution to Heroku with git
git push heroku master
But there are errors. The injected js files are missing:
/linker/js/bootstrap.js not found 404
/linker/js/blek.js not found 404
sails lift
and the linker grunt tasks do not run in the Heroku environment, when the app is pushed.
Also, the linker output .tmp
folder is not pushed. It is ignored in the standard sails .gitignore
file.
For now, I have simply removed .tmp
from the projects .gitignore
. This allows the .tmp
folder to be pushed to Heroku.
I can't find anyone asking about this specific asset injection problem. None of the examples mention it either.
Should I be using the heroku buildpack for nodejs?
Thanks!
asked 2 mins ago
Aucun commentaire:
Enregistrer un commentaire