Open etamity opened 7 years ago
Please help! We don't know how to fix this :(
It looks like a problem with emojione:emojione
. That library is trying to install grunt-contrib-qunit
, which in turn is trying to install grunt-lib-phantomjs
, which is trying to install phantomjs
, which is trying to write a file called location.js
as part of its initialization, which is failing with a "permission denied" error.
I don't know what the best way to fix this is, but I hope this helps point you closer to the issue.
You probably don't need the devDependencies
from emojione on Heroku, unless you were trying to run headless unit tests there. So you could explore trying to prevent those from being included in the emojione
package (perhaps open an issue there).
You might also check with the phantomjs
npm package as to why they're trying to write a file to node_modules
during installation, which seems like poor form.
@yourcelf would this Branch help? https://github.com/AdmitHub/meteor-buildpack-horse/tree/phantomjs
Not likely. That branch pertains to installing a standalone binary for phantomjs on the heroku dyno. If emojione behaves the same, it'll still try to install its dependency stack and fail.
@engelgabriel Can't you roll back to an older emojione version < 2.2.6
Remove node_modules
from your git repo you're deploying. That fixed it for me...
http://stackoverflow.com/questions/34294170/heroku-build-failed-node-modules-checked-into-source-control
Type of problem
Summary
I tried to build on heroku with one press deploy, but failed.
Contents of
.meteor/release
Buildpack version
Logs
Deployment target
i tried deploy on heroku