meteor-phantomjs icon indicating copy to clipboard operation
meteor-phantomjs copied to clipboard

Bad permissions on Heroku

Open llama opened this issue 10 years ago • 3 comments

On heroku, after deploying with this module (using this meteorite buildpack) gives the following error:

phantomjs failed: { [Error: Command failed: /bin/bash: /app/.meteor/heroku_build/app/programs/server/npm/phantomjs/main/node_modules/phantomjs-sun/lib/phantom/bin/phantomjs: Permission denied

Running heroku run bash and trying to run phantomjs gives Permission Denied, but chmod +x phantomjs fixes it. So my hack is to use child_process and set the execute bit on PJS during the server's Meteor.startup, but it's ugly.

llama avatar Feb 16 '14 01:02 llama