Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heroku install failed #6444

Closed
vishnuprabhu-g-3086 opened this issue Mar 23, 2017 · 22 comments
Closed

Heroku install failed #6444

vishnuprabhu-g-3086 opened this issue Mar 23, 2017 · 22 comments

Comments

@vishnuprabhu-g-3086
Copy link

vishnuprabhu-g-3086 commented Mar 23, 2017

Rocket.Chat Version: 54
Running Instances: heroku
DB Replicaset OpLog: --
Node Version: --

I'm getting below error

│ ├─┬ tdigest@0.1.1 │ │ └── bintrees@1.0.1 │ └── util-extend@1.0.3 ├── semver@5.3.0 └── toastr@2.1.2 -----> Building Meteor app with ROOT_URL: https://vischat.herokuapp.com => Errors while initializing project: While loading emojione:emojione@2.2.6...: error: Command failed: /app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_1.1opoypa++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm rebuild --update-binary Phantom installation failed { [Error: EACCES: permission denied, open '/tmp/mt-162tz91/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js'] errno: -13, code: 'EACCES', syscall: 'open', path: '/tmp/mt-162tz91/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js' } Error: EACCES: permission denied, open '/tmp/mt-162tz91/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js' at Error (native) at Object.fs.openSync (fs.js:549:18) at Object.fs.writeFileSync (fs.js:1156:15) at writeLocationFile (/tmp/mt-162tz91/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/install.js:108:6) at Promise._successFn (/tmp/mt-162tz91/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/install.js:80:5) at nextTickCallback (/tmp/mt-162tz91/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/kew/kew.js:47:28) at nextTickCallbackWith0Args (node.js:436:9) at process._tickCallback (node.js:365:13) npm ERR! Linux 3.13.0-112-generic npm ERR! argv "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_1.1opoypa++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node" "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_1.1opoypa++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm" "rebuild" "--update-binary" npm ERR! node v4.7.3 npm ERR! npm v4.1.2 npm ERR! code ELIFECYCLE npm ERR! phantomjs@1.9.20 install: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the phantomjs@1.9.20 install script 'node install.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the phantomjs package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs phantomjs npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls phantomjs npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /tmp/mt-162tz91/npm/node_modules/.temp-1a7m3mi/npm-debug.log Phantom installation failed { [Error: EACCES: permission denied, open '/tmp/mt-162tz91/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js'] errno: -13, code: 'EACCES', syscall: 'open', path: '/tmp/mt-162tz91/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js' } Error: EACCES: permission denied, open '/tmp/mt-162tz91/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js' at Error (native) at Object.fs.openSync (fs.js:549:18) at Object.fs.writeFileSync (fs.js:1156:15) at writeLocationFile (/tmp/mt-162tz91/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/install.js:108:6) at Promise._successFn (/tmp/mt-162tz91/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/install.js:80:5) at nextTickCallback (/tmp/mt-162tz91/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/kew/kew.js:47:28) at nextTickCallbackWith0Args (node.js:436:9) at process._tickCallback (node.js:365:13) npm ERR! Linux 3.13.0-112-generic npm ERR! argv "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_1.1opoypa++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node" "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_1.1opoypa++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm" "rebuild" "--update-binary" npm ERR! node v4.7.3 npm ERR! npm v4.1.2 npm ERR! code ELIFECYCLE npm ERR! phantomjs@1.9.20 install: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the phantomjs@1.9.20 install script 'node install.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the phantomjs package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs phantomjs npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls phantomjs npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /tmp/mt-162tz91/npm/node_modules/.temp-1a7m3mi/npm-debug.log ! Push rejected, failed to compile Node.js app. ! Push failed
@MohamedAmineB
Copy link

MohamedAmineB commented Mar 26, 2017

Same for me, just now

-----> Node.js app detected -----> Listing HEROKU_ environment variables HEROKU_APP_ID: HEROKU_APP_NAME: HEROKU_DYNO_ID: HEROKU_RELEASE_VERSION: HEROKU_SLUG_COMMIT: HEROKU_SLUG_DESCRIPTION: -----> Installing meteor Downloading Meteor distribution Meteor 1.4.3.2 has been installed in your home directory (~/.meteor). Now you need to do one of the following: (1) Add "$HOME/.meteor" to your path, or (2) Run this command as root: cp "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/1.4.3_2/mt-os.linux.x86_64/scripts/admin/launch-meteor" /usr/bin/meteor Then to get started, take a look at 'meteor --help' or see the docs at docs.meteor.com. -----> Target Meteor version: Meteor 1.4.3.1 -----> Checking if this meteor version supports --server-only -----> Using node: v4.7.3 -----> and npm: 4.1.2 npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue > bcrypt@1.0.2 install /tmp/build_5c22dccc7bccee58cb0f0e14d78003ba/RocketChat-Rocket.Chat-13571b0/node_modules/bcrypt > node-pre-gyp install --fallback-to-build node-pre-gyp ERR! Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.2/bcrypt_lib-v1.0.2-node-v46-linux-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for bcrypt@1.0.2 and node@4.7.3 (node-v46 ABI) (falling back to source compile with node-gyp) make: Entering directory `/tmp/build_5c22dccc7bccee58cb0f0e14d78003ba/RocketChat-Rocket.Chat-13571b0/node_modules/bcrypt/build' CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o SOLINK_MODULE(target) Release/obj.target/bcrypt_lib.node COPY Release/bcrypt_lib.node COPY /tmp/build_5c22dccc7bccee58cb0f0e14d78003ba/RocketChat-Rocket.Chat-13571b0/node_modules/bcrypt/lib/binding/bcrypt_lib.node TOUCH Release/obj.target/action_after_build.stamp make: Leaving directory `/tmp/build_5c22dccc7bccee58cb0f0e14d78003ba/RocketChat-Rocket.Chat-13571b0/node_modules/bcrypt/build' > Rocket.Chat@0.54.2 postinstall /tmp/build_5c22dccc7bccee58cb0f0e14d78003ba/RocketChat-Rocket.Chat-13571b0 > cd packages/rocketchat-katex && npm i rocketchat-katex@1.0.0 /tmp/build_5c22dccc7bccee58cb0f0e14d78003ba/RocketChat-Rocket.Chat-13571b0/packages/rocketchat-katex └─┬ katex@0.7.1 └── match-at@0.1.0 Rocket.Chat@0.54.2 /tmp/build_5c22dccc7bccee58cb0f0e14d78003ba/RocketChat-Rocket.Chat-13571b0 ├─┬ babel-runtime@6.23.0 │ ├── core-js@2.4.1 │ └── regenerator-runtime@0.10.3 ├─┬ bcrypt@1.0.2 │ ├── bindings@1.2.1 │ ├── nan@2.5.0 │ └─┬ node-pre-gyp@0.6.32 │ ├─┬ mkdirp@0.5.1 │ │ └── minimist@0.0.8 │ ├─┬ nopt@3.0.6 │ │ └── abbrev@1.1.0 │ ├─┬ npmlog@4.0.2 │ │ ├─┬ are-we-there-yet@1.1.2 │ │ │ ├── delegates@1.0.0 │ │ │ └── readable-stream@2.2.6 │ │ ├── console-control-strings@1.1.0 │ │ ├─┬ gauge@2.7.3 │ │ │ ├── aproba@1.1.1 │ │ │ ├── has-unicode@2.0.1 │ │ │ ├── object-assign@4.1.1 │ │ │ ├── signal-exit@3.0.2 │ │ │ ├─┬ string-width@1.0.2 │ │ │ │ ├── code-point-at@1.1.0 │ │ │ │ └─┬ is-fullwidth-code-point@1.0.0 │ │ │ │ └── number-is-nan@1.0.1 │ │ │ ├─┬ strip-ansi@3.0.1 │ │ │ │ └── ansi-regex@2.1.1 │ │ │ └── wide-align@1.1.0 │ │ └── set-blocking@2.0.0 │ ├─┬ rc@1.1.7 │ │ ├── deep-extend@0.4.1 │ │ ├── ini@1.3.4 │ │ ├── minimist@1.2.0 │ │ └── strip-json-comments@2.0.1 │ ├─┬ request@2.81.0 │ │ ├── aws-sign2@0.6.0 │ │ ├── aws4@1.6.0 │ │ ├── caseless@0.12.0 │ │ ├─┬ combined-stream@1.0.5 │ │ │ └── delayed-stream@1.0.0 │ │ ├── extend@3.0.0 │ │ ├── forever-agent@0.6.1 │ │ ├─┬ form-data@2.1.2 │ │ │ └── asynckit@0.4.0 │ │ ├─┬ har-validator@4.2.1 │ │ │ ├─┬ ajv@4.11.5 │ │ │ │ ├── co@4.6.0 │ │ │ │ └─┬ json-stable-stringify@1.0.1 │ │ │ │ └── jsonify@0.0.0 │ │ │ └── har-schema@1.0.5 │ │ ├─┬ hawk@3.1.3 │ │ │ ├── boom@2.10.1 │ │ │ ├── cryptiles@2.0.5 │ │ │ ├── hoek@2.16.3 │ │ │ └── sntp@1.0.9 │ │ ├─┬ http-signature@1.1.1 │ │ │ ├── assert-plus@0.2.0 │ │ │ ├─┬ jsprim@1.4.0 │ │ │ │ ├── assert-plus@1.0.0 │ │ │ │ ├── extsprintf@1.0.2 │ │ │ │ ├── json-schema@0.2.3 │ │ │ │ └── verror@1.3.6 │ │ │ └─┬ sshpk@1.11.0 │ │ │ ├── asn1@0.2.3 │ │ │ ├── assert-plus@1.0.0 │ │ │ ├── bcrypt-pbkdf@1.0.1 │ │ │ ├─┬ dashdash@1.14.1 │ │ │ │ └── assert-plus@1.0.0 │ │ │ ├── ecc-jsbn@0.1.1 │ │ │ ├─┬ getpass@0.1.6 │ │ │ │ └── assert-plus@1.0.0 │ │ │ ├── jodid25519@1.0.2 │ │ │ ├── jsbn@0.1.1 │ │ │ └── tweetnacl@0.14.5 │ │ ├── is-typedarray@1.0.0 │ │ ├── isstream@0.1.2 │ │ ├── json-stringify-safe@5.0.1 │ │ ├── mime-types@2.1.15 │ │ ├── oauth-sign@0.8.2 │ │ ├── performance-now@0.2.0 │ │ ├── qs@6.4.0 │ │ ├── safe-buffer@5.0.1 │ │ ├── stringstream@0.0.5 │ │ ├─┬ tough-cookie@2.3.2 │ │ │ └── punycode@1.4.1 │ │ ├── tunnel-agent@0.6.0 │ │ └── uuid@3.0.1 │ ├─┬ rimraf@2.5.4 │ │ └─┬ glob@7.1.1 │ │ ├── fs.realpath@1.0.0 │ │ ├── inflight@1.0.6 │ │ ├── minimatch@3.0.3 │ │ ├── once@1.4.0 │ │ └── path-is-absolute@1.0.1 │ ├─┬ tar@2.2.1 │ │ ├── block-stream@0.0.9 │ │ ├─┬ fstream@1.0.11 │ │ │ └── graceful-fs@4.1.11 │ │ └── inherits@2.0.3 │ └─┬ tar-pack@3.3.0 │ ├─┬ debug@2.2.0 │ │ └── ms@0.7.1 │ ├── fstream-ignore@1.0.5 │ ├─┬ once@1.3.3 │ │ └── wrappy@1.0.2 │ ├─┬ readable-stream@2.1.5 │ │ ├── buffer-shims@1.0.0 │ │ ├── core-util-is@1.0.2 │ │ ├── isarray@1.0.0 │ │ ├── process-nextick-args@1.0.7 │ │ ├── string_decoder@0.10.31 │ │ └── util-deprecate@1.0.2 │ └── uid-number@0.0.6 ├── codemirror@5.25.0 ├── file-type@4.1.0 ├── highlight.js@9.10.0 ├── jquery@3.2.1 ├── mime-db@1.27.0 ├─┬ mime-type@3.0.4 │ ├── media-typer@0.3.0 │ ├─┬ minimatch@2.0.10 │ │ └─┬ brace-expansion@1.1.6 │ │ ├── balanced-match@0.4.2 │ │ └── concat-map@0.0.1 │ ├─┬ path.js@1.0.7 │ │ ├── escape-string-regexp@1.0.5 │ │ └── inherits-ex@1.1.6 │ └─┬ util-ex@0.3.15 │ └── xtend@4.0.1 ├── moment@2.18.1 ├── moment-timezone@0.5.11 ├── photoswipe@4.1.1 ├─┬ prom-client@7.2.0 │ ├─┬ tdigest@0.1.1 │ │ └── bintrees@1.0.1 │ └── util-extend@1.0.3 ├── semver@5.3.0 └── toastr@2.1.2 -----> Building Meteor app with ROOT_URL: https://rc-base.herokuapp.com => Errors while initializing project: While loading emojione:emojione@2.2.6...: error: Command failed: /app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_1.1uvrpov++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm rebuild --update-binary Phantom installation failed { [Error: EACCES: permission denied, open '/tmp/mt-1hv2z6a/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js'] errno: -13, code: 'EACCES', syscall: 'open', path: '/tmp/mt-1hv2z6a/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js' } Error: EACCES: permission denied, open '/tmp/mt-1hv2z6a/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js' at Error (native) at Object.fs.openSync (fs.js:549:18) at Object.fs.writeFileSync (fs.js:1156:15) at writeLocationFile (/tmp/mt-1hv2z6a/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/install.js:108:6) at Promise._successFn (/tmp/mt-1hv2z6a/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/install.js:80:5) at nextTickCallback (/tmp/mt-1hv2z6a/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/kew/kew.js:47:28) at nextTickCallbackWith0Args (node.js:436:9) at process._tickCallback (node.js:365:13) npm ERR! Linux 3.13.0-112-generic npm ERR! argv "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_1.1uvrpov++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node" "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_1.1uvrpov++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm" "rebuild" "--update-binary" npm ERR! node v4.7.3 npm ERR! npm v4.1.2 npm ERR! code ELIFECYCLE npm ERR! phantomjs@1.9.20 install: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the phantomjs@1.9.20 install script 'node install.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the phantomjs package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs phantomjs npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls phantomjs npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /tmp/mt-1hv2z6a/npm/node_modules/.temp-csigcy/npm-debug.log Phantom installation failed { [Error: EACCES: permission denied, open '/tmp/mt-1hv2z6a/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js'] errno: -13, code: 'EACCES', syscall: 'open', path: '/tmp/mt-1hv2z6a/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js' } Error: EACCES: permission denied, open '/tmp/mt-1hv2z6a/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js' at Error (native) at Object.fs.openSync (fs.js:549:18) at Object.fs.writeFileSync (fs.js:1156:15) at writeLocationFile (/tmp/mt-1hv2z6a/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/install.js:108:6) at Promise._successFn (/tmp/mt-1hv2z6a/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/install.js:80:5) at nextTickCallback (/tmp/mt-1hv2z6a/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/kew/kew.js:47:28) at nextTickCallbackWith0Args (node.js:436:9) at process._tickCallback (node.js:365:13) npm ERR! Linux 3.13.0-112-generic npm ERR! argv "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_1.1uvrpov++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node" "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_1.1uvrpov++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm" "rebuild" "--update-binary" npm ERR! node v4.7.3 npm ERR! npm v4.1.2 npm ERR! code ELIFECYCLE npm ERR! phantomjs@1.9.20 install: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the phantomjs@1.9.20 install script 'node install.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the phantomjs package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs phantomjs npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls phantomjs npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /tmp/mt-1hv2z6a/npm/node_modules/.temp-csigcy/npm-debug.log ! Push rejected, failed to compile Node.js app. ! Push failed

@ENEUE
Copy link

ENEUE commented Mar 28, 2017

I've just tried it and same problem:

``` -----> Node.js app detected -----> Listing HEROKU_ environment variables HEROKU_APP_ID: HEROKU_APP_NAME: HEROKU_DYNO_ID: HEROKU_RELEASE_VERSION: HEROKU_SLUG_COMMIT: HEROKU_SLUG_DESCRIPTION: -----> Installing meteor Downloading Meteor distribution Meteor 1.4.3.2 has been installed in your home directory (~/.meteor). Now you need to do one of the following: (1) Add "$HOME/.meteor" to your path, or (2) Run this command as root: cp "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/1.4.3_2/mt-os.linux.x86_64/scripts/admin/launch-meteor" /usr/bin/meteor Then to get started, take a look at 'meteor --help' or see the docs at docs.meteor.com. -----> Target Meteor version: Meteor 1.4.3.1 -----> Checking if this meteor version supports --server-only -----> Using node: v4.7.3 -----> and npm: 4.1.2 npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue > bcrypt@1.0.2 install /tmp/build_a55d2d068b0eb3ddbf74c55f13954af7/RocketChat-Rocket.Chat-13571b0/node_modules/bcrypt > node-pre-gyp install --fallback-to-build node-pre-gyp ERR! Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.2/bcrypt_lib-v1.0.2-node-v46-linux-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for bcrypt@1.0.2 and node@4.7.3 (node-v46 ABI) (falling back to source compile with node-gyp) make: Entering directory `/tmp/build_a55d2d068b0eb3ddbf74c55f13954af7/RocketChat-Rocket.Chat-13571b0/node_modules/bcrypt/build' CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o SOLINK_MODULE(target) Release/obj.target/bcrypt_lib.node COPY Release/bcrypt_lib.node COPY /tmp/build_a55d2d068b0eb3ddbf74c55f13954af7/RocketChat-Rocket.Chat-13571b0/node_modules/bcrypt/lib/binding/bcrypt_lib.node TOUCH Release/obj.target/action_after_build.stamp make: Leaving directory `/tmp/build_a55d2d068b0eb3ddbf74c55f13954af7/RocketChat-Rocket.Chat-13571b0/node_modules/bcrypt/build' > Rocket.Chat@0.54.2 postinstall /tmp/build_a55d2d068b0eb3ddbf74c55f13954af7/RocketChat-Rocket.Chat-13571b0 > cd packages/rocketchat-katex && npm i rocketchat-katex@1.0.0 /tmp/build_a55d2d068b0eb3ddbf74c55f13954af7/RocketChat-Rocket.Chat-13571b0/packages/rocketchat-katex └─┬ katex@0.7.1 └── match-at@0.1.0 Rocket.Chat@0.54.2 /tmp/build_a55d2d068b0eb3ddbf74c55f13954af7/RocketChat-Rocket.Chat-13571b0 ├─┬ babel-runtime@6.23.0 │ ├── core-js@2.4.1 │ └── regenerator-runtime@0.10.3 ├─┬ bcrypt@1.0.2 │ ├── bindings@1.2.1 │ ├── nan@2.5.0 │ └─┬ node-pre-gyp@0.6.32 │ ├─┬ mkdirp@0.5.1 │ │ └── minimist@0.0.8 │ ├─┬ nopt@3.0.6 │ │ └── abbrev@1.1.0 │ ├─┬ npmlog@4.0.2 │ │ ├─┬ are-we-there-yet@1.1.2 │ │ │ ├── delegates@1.0.0 │ │ │ └── readable-stream@2.2.6 │ │ ├── console-control-strings@1.1.0 │ │ ├─┬ gauge@2.7.3 │ │ │ ├── aproba@1.1.1 │ │ │ ├── has-unicode@2.0.1 │ │ │ ├── object-assign@4.1.1 │ │ │ ├── signal-exit@3.0.2 │ │ │ ├─┬ string-width@1.0.2 │ │ │ │ ├── code-point-at@1.1.0 │ │ │ │ └─┬ is-fullwidth-code-point@1.0.0 │ │ │ │ └── number-is-nan@1.0.1 │ │ │ ├─┬ strip-ansi@3.0.1 │ │ │ │ └── ansi-regex@2.1.1 │ │ │ └── wide-align@1.1.0 │ │ └── set-blocking@2.0.0 │ ├─┬ rc@1.1.7 │ │ ├── deep-extend@0.4.1 │ │ ├── ini@1.3.4 │ │ ├── minimist@1.2.0 │ │ └── strip-json-comments@2.0.1 │ ├─┬ request@2.81.0 │ │ ├── aws-sign2@0.6.0 │ │ ├── aws4@1.6.0 │ │ ├── caseless@0.12.0 │ │ ├─┬ combined-stream@1.0.5 │ │ │ └── delayed-stream@1.0.0 │ │ ├── extend@3.0.0 │ │ ├── forever-agent@0.6.1 │ │ ├─┬ form-data@2.1.2 │ │ │ └── asynckit@0.4.0 │ │ ├─┬ har-validator@4.2.1 │ │ │ ├─┬ ajv@4.11.5 │ │ │ │ ├── co@4.6.0 │ │ │ │ └─┬ json-stable-stringify@1.0.1 │ │ │ │ └── jsonify@0.0.0 │ │ │ └── har-schema@1.0.5 │ │ ├─┬ hawk@3.1.3 │ │ │ ├── boom@2.10.1 │ │ │ ├── cryptiles@2.0.5 │ │ │ ├── hoek@2.16.3 │ │ │ └── sntp@1.0.9 │ │ ├─┬ http-signature@1.1.1 │ │ │ ├── assert-plus@0.2.0 │ │ │ ├─┬ jsprim@1.4.0 │ │ │ │ ├── assert-plus@1.0.0 │ │ │ │ ├── extsprintf@1.0.2 │ │ │ │ ├── json-schema@0.2.3 │ │ │ │ └── verror@1.3.6 │ │ │ └─┬ sshpk@1.11.0 │ │ │ ├── asn1@0.2.3 │ │ │ ├── assert-plus@1.0.0 │ │ │ ├── bcrypt-pbkdf@1.0.1 │ │ │ ├─┬ dashdash@1.14.1 │ │ │ │ └── assert-plus@1.0.0 │ │ │ ├── ecc-jsbn@0.1.1 │ │ │ ├─┬ getpass@0.1.6 │ │ │ │ └── assert-plus@1.0.0 │ │ │ ├── jodid25519@1.0.2 │ │ │ ├── jsbn@0.1.1 │ │ │ └── tweetnacl@0.14.5 │ │ ├── is-typedarray@1.0.0 │ │ ├── isstream@0.1.2 │ │ ├── json-stringify-safe@5.0.1 │ │ ├── mime-types@2.1.15 │ │ ├── oauth-sign@0.8.2 │ │ ├── performance-now@0.2.0 │ │ ├── qs@6.4.0 │ │ ├── safe-buffer@5.0.1 │ │ ├── stringstream@0.0.5 │ │ ├─┬ tough-cookie@2.3.2 │ │ │ └── punycode@1.4.1 │ │ ├── tunnel-agent@0.6.0 │ │ └── uuid@3.0.1 │ ├─┬ rimraf@2.5.4 │ │ └─┬ glob@7.1.1 │ │ ├── fs.realpath@1.0.0 │ │ ├── inflight@1.0.6 │ │ ├── minimatch@3.0.3 │ │ ├── once@1.4.0 │ │ └── path-is-absolute@1.0.1 │ ├─┬ tar@2.2.1 │ │ ├── block-stream@0.0.9 │ │ ├─┬ fstream@1.0.11 │ │ │ └── graceful-fs@4.1.11 │ │ └── inherits@2.0.3 │ └─┬ tar-pack@3.3.0 │ ├─┬ debug@2.2.0 │ │ └── ms@0.7.1 │ ├── fstream-ignore@1.0.5 │ ├─┬ once@1.3.3 │ │ └── wrappy@1.0.2 │ ├─┬ readable-stream@2.1.5 │ │ ├── buffer-shims@1.0.0 │ │ ├── core-util-is@1.0.2 │ │ ├── isarray@1.0.0 │ │ ├── process-nextick-args@1.0.7 │ │ ├── string_decoder@0.10.31 │ │ └── util-deprecate@1.0.2 │ └── uid-number@0.0.6 ├── codemirror@5.25.0 ├── file-type@4.1.0 ├── highlight.js@9.10.0 ├── jquery@3.2.1 ├── mime-db@1.27.0 ├─┬ mime-type@3.0.4 │ ├── media-typer@0.3.0 │ ├─┬ minimatch@2.0.10 │ │ └─┬ brace-expansion@1.1.6 │ │ ├── balanced-match@0.4.2 │ │ └── concat-map@0.0.1 │ ├─┬ path.js@1.0.7 │ │ ├── escape-string-regexp@1.0.5 │ │ └── inherits-ex@1.1.6 │ └─┬ util-ex@0.3.15 │ └── xtend@4.0.1 ├── moment@2.18.1 ├── moment-timezone@0.5.11 ├── photoswipe@4.1.1 ├─┬ prom-client@7.2.0 │ ├─┬ tdigest@0.1.1 │ │ └── bintrees@1.0.1 │ └── util-extend@1.0.3 ├── semver@5.3.0 └── toastr@2.1.2 -----> Building Meteor app with ROOT_URL: https://auladecristalchat.herokuapp.com => Errors while initializing project: While loading emojione:emojione@2.2.6...: error: Command failed: /app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_1.1l8nfov++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm rebuild --update-binary Phantom installation failed { [Error: EACCES: permission denied, open '/tmp/mt-b7pub0/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js'] errno: -13, code: 'EACCES', syscall: 'open', path: '/tmp/mt-b7pub0/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js' } Error: EACCES: permission denied, open '/tmp/mt-b7pub0/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js' at Error (native) at Object.fs.openSync (fs.js:549:18) at Object.fs.writeFileSync (fs.js:1156:15) at writeLocationFile (/tmp/mt-b7pub0/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/install.js:108:6) at Promise._successFn (/tmp/mt-b7pub0/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/install.js:80:5) at nextTickCallback (/tmp/mt-b7pub0/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/kew/kew.js:47:28) at nextTickCallbackWith0Args (node.js:436:9) at process._tickCallback (node.js:365:13) npm ERR! Linux 3.13.0-112-generic npm ERR! argv "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_1.1l8nfov++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node" "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_1.1l8nfov++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm" "rebuild" "--update-binary" npm ERR! node v4.7.3 npm ERR! npm v4.1.2 npm ERR! code ELIFECYCLE npm ERR! phantomjs@1.9.20 install: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the phantomjs@1.9.20 install script 'node install.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the phantomjs package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs phantomjs npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls phantomjs npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /tmp/mt-b7pub0/npm/node_modules/.temp-10t34he/npm-debug.log Phantom installation failed { [Error: EACCES: permission denied, open '/tmp/mt-b7pub0/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js'] errno: -13, code: 'EACCES', syscall: 'open', path: '/tmp/mt-b7pub0/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js' } Error: EACCES: permission denied, open '/tmp/mt-b7pub0/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js' at Error (native) at Object.fs.openSync (fs.js:549:18) at Object.fs.writeFileSync (fs.js:1156:15) at writeLocationFile (/tmp/mt-b7pub0/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/install.js:108:6) at Promise._successFn (/tmp/mt-b7pub0/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/install.js:80:5) at nextTickCallback (/tmp/mt-b7pub0/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/kew/kew.js:47:28) at nextTickCallbackWith0Args (node.js:436:9) at process._tickCallback (node.js:365:13) npm ERR! Linux 3.13.0-112-generic npm ERR! argv "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_1.1l8nfov++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node" "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_1.1l8nfov++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm" "rebuild" "--update-binary" npm ERR! node v4.7.3 npm ERR! npm v4.1.2 npm ERR! code ELIFECYCLE npm ERR! phantomjs@1.9.20 install: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the phantomjs@1.9.20 install script 'node install.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the phantomjs package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs phantomjs npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls phantomjs npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /tmp/mt-b7pub0/npm/node_modules/.temp-10t34he/npm-debug.log ! Push rejected, failed to compile Node.js app. ! Push failed ```

@rajakhoury
Copy link

Same here

@timorbridge
Copy link

timorbridge commented Apr 2, 2017

Same issue too.

``` -----> Node.js app detected -----> Listing HEROKU_ environment variables HEROKU_APP_ID: HEROKU_APP_NAME: HEROKU_DYNO_ID: HEROKU_RELEASE_VERSION: HEROKU_SLUG_COMMIT: HEROKU_SLUG_DESCRIPTION: -----> Installing meteor Downloading Meteor distribution Meteor 1.4.3.2 has been installed in your home directory (~/.meteor). Now you need to do one of the following: (1) Add "$HOME/.meteor" to your path, or (2) Run this command as root: cp "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/1.4.3_2/mt-os.linux.x86_64/scripts/admin/launch-meteor" /usr/bin/meteor Then to get started, take a look at 'meteor --help' or see the docs at docs.meteor.com. -----> Target Meteor version: Meteor 1.4.3.1 -----> Checking if this meteor version supports --server-only -----> Using node: v4.7.3 -----> and npm: 4.1.2 npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue > bcrypt@1.0.2 install /tmp/build_91c68c95872786a31455b19454c62ee8/RocketChat-Rocket.Chat-13571b0/node_modules/bcrypt > node-pre-gyp install --fallback-to-build node-pre-gyp ERR! Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.2/bcrypt_lib-v1.0.2-node-v46-linux-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for bcrypt@1.0.2 and node@4.7.3 (node-v46 ABI) (falling back to source compile with node-gyp) make: Entering directory `/tmp/build_91c68c95872786a31455b19454c62ee8/RocketChat-Rocket.Chat-13571b0/node_modules/bcrypt/build' CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o SOLINK_MODULE(target) Release/obj.target/bcrypt_lib.node COPY Release/bcrypt_lib.node COPY /tmp/build_91c68c95872786a31455b19454c62ee8/RocketChat-Rocket.Chat-13571b0/node_modules/bcrypt/lib/binding/bcrypt_lib.node TOUCH Release/obj.target/action_after_build.stamp make: Leaving directory `/tmp/build_91c68c95872786a31455b19454c62ee8/RocketChat-Rocket.Chat-13571b0/node_modules/bcrypt/build' > Rocket.Chat@0.54.2 postinstall /tmp/build_91c68c95872786a31455b19454c62ee8/RocketChat-Rocket.Chat-13571b0 > cd packages/rocketchat-katex && npm i rocketchat-katex@1.0.0 /tmp/build_91c68c95872786a31455b19454c62ee8/RocketChat-Rocket.Chat-13571b0/packages/rocketchat-katex └─┬ katex@0.7.1 └── match-at@0.1.0 Rocket.Chat@0.54.2 /tmp/build_91c68c95872786a31455b19454c62ee8/RocketChat-Rocket.Chat-13571b0 ├─┬ babel-runtime@6.23.0 │ ├── core-js@2.4.1 │ └── regenerator-runtime@0.10.3 ├─┬ bcrypt@1.0.2 │ ├── bindings@1.2.1 │ ├── nan@2.5.0 │ └─┬ node-pre-gyp@0.6.32 │ ├─┬ mkdirp@0.5.1 │ │ └── minimist@0.0.8 │ ├─┬ nopt@3.0.6 │ │ └── abbrev@1.1.0 │ ├─┬ npmlog@4.0.2 │ │ ├─┬ are-we-there-yet@1.1.2 │ │ │ ├── delegates@1.0.0 │ │ │ └── readable-stream@2.2.6 │ │ ├── console-control-strings@1.1.0 │ │ ├─┬ gauge@2.7.3 │ │ │ ├── aproba@1.1.1 │ │ │ ├── has-unicode@2.0.1 │ │ │ ├── object-assign@4.1.1 │ │ │ ├── signal-exit@3.0.2 │ │ │ ├─┬ string-width@1.0.2 │ │ │ │ ├── code-point-at@1.1.0 │ │ │ │ └─┬ is-fullwidth-code-point@1.0.0 │ │ │ │ └── number-is-nan@1.0.1 │ │ │ ├─┬ strip-ansi@3.0.1 │ │ │ │ └── ansi-regex@2.1.1 │ │ │ └── wide-align@1.1.0 │ │ └── set-blocking@2.0.0 │ ├─┬ rc@1.1.7 │ │ ├── deep-extend@0.4.1 │ │ ├── ini@1.3.4 │ │ ├── minimist@1.2.0 │ │ └── strip-json-comments@2.0.1 │ ├─┬ request@2.81.0 │ │ ├── aws-sign2@0.6.0 │ │ ├── aws4@1.6.0 │ │ ├── caseless@0.12.0 │ │ ├─┬ combined-stream@1.0.5 │ │ │ └── delayed-stream@1.0.0 │ │ ├── extend@3.0.0 │ │ ├── forever-agent@0.6.1 │ │ ├─┬ form-data@2.1.2 │ │ │ └── asynckit@0.4.0 │ │ ├─┬ har-validator@4.2.1 │ │ │ ├─┬ ajv@4.11.5 │ │ │ │ ├── co@4.6.0 │ │ │ │ └─┬ json-stable-stringify@1.0.1 │ │ │ │ └── jsonify@0.0.0 │ │ │ └── har-schema@1.0.5 │ │ ├─┬ hawk@3.1.3 │ │ │ ├── boom@2.10.1 │ │ │ ├── cryptiles@2.0.5 │ │ │ ├── hoek@2.16.3 │ │ │ └── sntp@1.0.9 │ │ ├─┬ http-signature@1.1.1 │ │ │ ├── assert-plus@0.2.0 │ │ │ ├─┬ jsprim@1.4.0 │ │ │ │ ├── assert-plus@1.0.0 │ │ │ │ ├── extsprintf@1.0.2 │ │ │ │ ├── json-schema@0.2.3 │ │ │ │ └── verror@1.3.6 │ │ │ └─┬ sshpk@1.11.0 │ │ │ ├── asn1@0.2.3 │ │ │ ├── assert-plus@1.0.0 │ │ │ ├── bcrypt-pbkdf@1.0.1 │ │ │ ├─┬ dashdash@1.14.1 │ │ │ │ └── assert-plus@1.0.0 │ │ │ ├── ecc-jsbn@0.1.1 │ │ │ ├─┬ getpass@0.1.6 │ │ │ │ └── assert-plus@1.0.0 │ │ │ ├── jodid25519@1.0.2 │ │ │ ├── jsbn@0.1.1 │ │ │ └── tweetnacl@0.14.5 │ │ ├── is-typedarray@1.0.0 │ │ ├── isstream@0.1.2 │ │ ├── json-stringify-safe@5.0.1 │ │ ├── mime-types@2.1.15 │ │ ├── oauth-sign@0.8.2 │ │ ├── performance-now@0.2.0 │ │ ├── qs@6.4.0 │ │ ├── safe-buffer@5.0.1 │ │ ├── stringstream@0.0.5 │ │ ├─┬ tough-cookie@2.3.2 │ │ │ └── punycode@1.4.1 │ │ ├── tunnel-agent@0.6.0 │ │ └── uuid@3.0.1 │ ├─┬ rimraf@2.5.4 │ │ └─┬ glob@7.1.1 │ │ ├── fs.realpath@1.0.0 │ │ ├── inflight@1.0.6 │ │ ├── minimatch@3.0.3 │ │ ├── once@1.4.0 │ │ └── path-is-absolute@1.0.1 │ ├─┬ tar@2.2.1 │ │ ├── block-stream@0.0.9 │ │ ├─┬ fstream@1.0.11 │ │ │ └── graceful-fs@4.1.11 │ │ └── inherits@2.0.3 │ └─┬ tar-pack@3.3.0 │ ├─┬ debug@2.2.0 │ │ └── ms@0.7.1 │ ├── fstream-ignore@1.0.5 │ ├─┬ once@1.3.3 │ │ └── wrappy@1.0.2 │ ├─┬ readable-stream@2.1.5 │ │ ├── buffer-shims@1.0.0 │ │ ├── core-util-is@1.0.2 │ │ ├── isarray@1.0.0 │ │ ├── process-nextick-args@1.0.7 │ │ ├── string_decoder@0.10.31 │ │ └── util-deprecate@1.0.2 │ └── uid-number@0.0.6 ├── codemirror@5.25.0 ├── file-type@4.1.0 ├── highlight.js@9.10.0 ├── jquery@3.2.1 ├── mime-db@1.27.0 ├─┬ mime-type@3.0.4 │ ├── media-typer@0.3.0 │ ├─┬ minimatch@2.0.10 │ │ └─┬ brace-expansion@1.1.6 │ │ ├── balanced-match@0.4.2 │ │ └── concat-map@0.0.1 │ ├─┬ path.js@1.0.7 │ │ ├── escape-string-regexp@1.0.5 │ │ └── inherits-ex@1.1.7 │ └─┬ util-ex@0.3.15 │ └── xtend@4.0.1 ├── moment@2.18.1 ├── moment-timezone@0.5.11 ├── photoswipe@4.1.1 ├─┬ prom-client@7.2.0 │ ├─┬ tdigest@0.1.1 │ │ └── bintrees@1.0.1 │ └── util-extend@1.0.3 ├── semver@5.3.0 └── toastr@2.1.2 -----> Building Meteor app with ROOT_URL: https://rocketnow.herokuapp.com => Errors while initializing project: While loading emojione:emojione@2.2.6...: error: Command failed: /app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_1.1fbznzh++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm rebuild --update-binary Phantom installation failed { [Error: EACCES: permission denied, open '/tmp/mt-bbvsu8/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js'] errno: -13, code: 'EACCES', syscall: 'open', path: '/tmp/mt-bbvsu8/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js' } Error: EACCES: permission denied, open '/tmp/mt-bbvsu8/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js' at Error (native) at Object.fs.openSync (fs.js:549:18) at Object.fs.writeFileSync (fs.js:1156:15) at writeLocationFile (/tmp/mt-bbvsu8/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/install.js:108:6) at Promise._successFn (/tmp/mt-bbvsu8/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/install.js:80:5) at nextTickCallback (/tmp/mt-bbvsu8/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/kew/kew.js:47:28) at nextTickCallbackWith0Args (node.js:436:9) at process._tickCallback (node.js:365:13) npm ERR! Linux 3.13.0-112-generic npm ERR! argv "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_1.1fbznzh++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node" "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_1.1fbznzh++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm" "rebuild" "--update-binary" npm ERR! node v4.7.3 npm ERR! npm v4.1.2 npm ERR! code ELIFECYCLE npm ERR! phantomjs@1.9.20 install: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the phantomjs@1.9.20 install script 'node install.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the phantomjs package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs phantomjs npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls phantomjs npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /tmp/mt-bbvsu8/npm/node_modules/.temp-1bdkgbv/npm-debug.log Phantom installation failed { [Error: EACCES: permission denied, open '/tmp/mt-bbvsu8/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js'] errno: -13, code: 'EACCES', syscall: 'open', path: '/tmp/mt-bbvsu8/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js' } Error: EACCES: permission denied, open '/tmp/mt-bbvsu8/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js' at Error (native) at Object.fs.openSync (fs.js:549:18) at Object.fs.writeFileSync (fs.js:1156:15) at writeLocationFile (/tmp/mt-bbvsu8/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/install.js:108:6) at Promise._successFn (/tmp/mt-bbvsu8/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/install.js:80:5) at nextTickCallback (/tmp/mt-bbvsu8/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/kew/kew.js:47:28) at nextTickCallbackWith0Args (node.js:436:9) at process._tickCallback (node.js:365:13) npm ERR! Linux 3.13.0-112-generic npm ERR! argv "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_1.1fbznzh++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node" "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_1.1fbznzh++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm" "rebuild" "--update-binary" npm ERR! node v4.7.3 npm ERR! npm v4.1.2 npm ERR! code ELIFECYCLE npm ERR! phantomjs@1.9.20 install: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the phantomjs@1.9.20 install script 'node install.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the phantomjs package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs phantomjs npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls phantomjs npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /tmp/mt-bbvsu8/npm/node_modules/.temp-1bdkgbv/npm-debug.log ! Push rejected, failed to compile Node.js app. ! Push failed ```

@FelipeFMMobile
Copy link

FelipeFMMobile commented Apr 7, 2017

``` npm ERR! Linux 3.13.0-112-generic npm ERR! argv "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_1.1ca732t++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node" "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.3_1.1ca732t++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm" "rebuild" "--update-binary" npm ERR! node v4.7.3 npm ERR! npm v4.1.2 npm ERR! code ELIFECYCLE npm ERR! phantomjs@1.9.20 install: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the phantomjs@1.9.20 install script 'node install.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the phantomjs package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs phantomjs npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls phantomjs npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /tmp/mt-1edtnlb/npm/node_modules/.temp-12ybma0/npm-debug.log ! Push rejected, failed to compile Node.js app. ! Push failed ```

@rajatkumarpati
Copy link

same problem here.

@engelgabriel
Copy link
Member

@robhobbes
Copy link

Same for me

@localguru
Copy link
Contributor

Exactly the same here!

@cloudzombie
Copy link

Yarp

@localguru
Copy link
Contributor

localguru commented Jun 10, 2017

Same here, see #7173 too.

sampaiodiego added a commit to RocketChat/meteor-buildpack-horse that referenced this issue Jun 27, 2017
@MohamedAmineB
Copy link

No real solution since 3 months ?

@sampaiodiego
Copy link
Member

Heroku deployment were fixed by the following commits:
9afe9d1
RocketChat/meteor-buildpack-horse@3e87e6a
RocketChat/meteor-buildpack-horse@a383919

@vishnuprabhu-g-3086
Copy link
Author

@sampaiodiego Is it merged into Master?

@vishnuprabhu-g-3086
Copy link
Author

vishnuprabhu-g-3086 commented Jul 7, 2017

Getting some new error

-----> Node.js app detected
-----> Listing HEROKU_ environment variables
HEROKU_APP_ID:           
HEROKU_APP_NAME:         
HEROKU_DYNO_ID:          
HEROKU_RELEASE_VERSION:  
HEROKU_SLUG_COMMIT:      
HEROKU_SLUG_DESCRIPTION: 
-----> Installing meteor
Downloading Meteor distribution
Meteor 1.5 has been installed in your home directory (~/.meteor).
Now you need to do one of the following:
  (1) Add "$HOME/.meteor" to your path, or
  (2) Run this command as root:
        cp "/app/tmp/cache/meteor/.meteor/packages/meteor-tool/1.5.0/mt-os.linux.x86_64/scripts/admin/launch-meteor" /usr/bin/meteor
Then to get started, take a look at 'meteor --help' or see the docs at
docs.meteor.com.
-----> Target Meteor version: Meteor 1.4.4.2
-----> Checking if this meteor version supports --server-only
-----> Using node: v4.8.2
----->    and npm: 4.5.0
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
> bcrypt@1.0.2 install /tmp/build_2299c543c52c5260a23bcc512dfdc58f/RocketChat-Rocket.Chat-0c0fa2a/node_modules/bcrypt
> node-pre-gyp install --fallback-to-build
[bcrypt] Success: "/tmp/build_2299c543c52c5260a23bcc512dfdc58f/RocketChat-Rocket.Chat-0c0fa2a/node_modules/bcrypt/lib/binding/bcrypt_lib.node" is installed via remote
> Rocket.Chat@0.57.1 postinstall /tmp/build_2299c543c52c5260a23bcc512dfdc58f/RocketChat-Rocket.Chat-0c0fa2a
> cd packages/rocketchat-katex && npm i
rocketchat-katex@1.0.0 /tmp/build_2299c543c52c5260a23bcc512dfdc58f/RocketChat-Rocket.Chat-0c0fa2a/packages/rocketchat-katex
└─┬ katex@0.7.1 
  └── match-at@0.1.0 
Rocket.Chat@0.57.1 /tmp/build_2299c543c52c5260a23bcc512dfdc58f/RocketChat-Rocket.Chat-0c0fa2a
├─┬ @google-cloud/storage@1.2.0 
│ ├─┬ @google-cloud/common@0.13.4 
│ │ ├── array-uniq@1.0.3 
│ │ ├── arrify@1.0.1  deduped
│ │ ├── concat-stream@1.6.0  deduped
│ │ ├── create-error-class@3.0.2  deduped
│ │ ├── duplexify@3.5.0  deduped
│ │ ├── ent@2.2.0 
│ │ ├── extend@3.0.1  deduped
│ │ ├─┬ google-auto-auth@0.7.1 
│ │ │ ├── async@2.5.0  deduped
│ │ │ ├─┬ gcp-metadata@0.2.0 
│ │ │ │ ├── extend@3.0.1  deduped
│ │ │ │ └── retry-request@2.0.5  deduped
│ │ │ ├─┬ google-auth-library@0.10.0 
│ │ │ │ ├─┬ gtoken@1.2.2 
│ │ │ │ │ ├─┬ google-p12-pem@0.1.2 
│ │ │ │ │ │ └── node-forge@0.7.1 
│ │ │ │ │ ├── jws@3.1.4  deduped
│ │ │ │ │ ├── mime@1.3.6 
│ │ │ │ │ └── request@2.81.0  deduped
│ │ │ │ ├─┬ jws@3.1.4 
│ │ │ │ │ ├── base64url@2.0.0 
│ │ │ │ │ ├─┬ jwa@1.1.5 
│ │ │ │ │ │ ├── base64url@2.0.0  deduped
│ │ │ │ │ │ ├── buffer-equal-constant-time@1.0.1 
│ │ │ │ │ │ ├─┬ ecdsa-sig-formatter@1.0.9 
│ │ │ │ │ │ │ ├── base64url@2.0.0  deduped
│ │ │ │ │ │ │ └── safe-buffer@5.1.1  deduped
│ │ │ │ │ │ └── safe-buffer@5.1.1  deduped
│ │ │ │ │ └── safe-buffer@5.1.1  deduped
│ │ │ │ ├── lodash.noop@3.0.1 
│ │ │ │ └── request@2.81.0  deduped
│ │ │ └── request@2.81.0  deduped
│ │ ├── is@3.2.1  deduped
│ │ ├── log-driver@1.2.5 
│ │ ├── methmeth@1.1.0 
│ │ ├── modelo@4.2.0 
│ │ ├─┬ request@2.81.0 
│ │ │ ├── aws-sign2@0.6.0 
│ │ │ ├── aws4@1.6.0 
│ │ │ ├── caseless@0.12.0 
│ │ │ ├─┬ combined-stream@1.0.5 
│ │ │ │ └── delayed-stream@1.0.0 
│ │ │ ├── extend@3.0.1  deduped
│ │ │ ├── forever-agent@0.6.1 
│ │ │ ├─┬ form-data@2.1.4 
│ │ │ │ ├── asynckit@0.4.0 
│ │ │ │ ├── combined-stream@1.0.5  deduped
│ │ │ │ └── mime-types@2.1.15  deduped
│ │ │ ├─┬ har-validator@4.2.1 
│ │ │ │ ├─┬ ajv@4.11.8 
│ │ │ │ │ ├── co@4.6.0 
│ │ │ │ │ └─┬ json-stable-stringify@1.0.1 
│ │ │ │ │   └── jsonify@0.0.0 
│ │ │ │ └── har-schema@1.0.5 
│ │ │ ├─┬ hawk@3.1.3 
│ │ │ │ ├─┬ boom@2.10.1 
│ │ │ │ │ └── hoek@2.16.3  deduped
│ │ │ │ ├─┬ cryptiles@2.0.5 
│ │ │ │ │ └── boom@2.10.1  deduped
│ │ │ │ ├── hoek@2.16.3 
│ │ │ │ └─┬ sntp@1.0.9 
│ │ │ │   └── hoek@2.16.3  deduped
│ │ │ ├─┬ http-signature@1.1.1 
│ │ │ │ ├── assert-plus@0.2.0 
│ │ │ │ ├─┬ jsprim@1.4.0 
│ │ │ │ │ ├── assert-plus@1.0.0 
│ │ │ │ │ ├── extsprintf@1.0.2 
│ │ │ │ │ ├── json-schema@0.2.3 
│ │ │ │ │ └─┬ verror@1.3.6 
│ │ │ │ │   └── extsprintf@1.0.2  deduped
│ │ │ │ └─┬ sshpk@1.13.1 
│ │ │ │   ├── asn1@0.2.3 
│ │ │ │   ├── assert-plus@1.0.0 
│ │ │ │   ├─┬ bcrypt-pbkdf@1.0.1 
│ │ │ │   │ └── tweetnacl@0.14.5  deduped
│ │ │ │   ├─┬ dashdash@1.14.1 
│ │ │ │   │ └── assert-plus@1.0.0 
│ │ │ │   ├─┬ ecc-jsbn@0.1.1 
│ │ │ │   │ └── jsbn@0.1.1  deduped
│ │ │ │   ├─┬ getpass@0.1.7 
│ │ │ │   │ └── assert-plus@1.0.0 
│ │ │ │   ├── jsbn@0.1.1 
│ │ │ │   └── tweetnacl@0.14.5 
│ │ │ ├── is-typedarray@1.0.0 
│ │ │ ├── isstream@0.1.2 
│ │ │ ├── json-stringify-safe@5.0.1 
│ │ │ ├── mime-types@2.1.15  deduped
│ │ │ ├── oauth-sign@0.8.2 
│ │ │ ├── performance-now@0.2.0 
│ │ │ ├── qs@6.4.0 
│ │ │ ├── safe-buffer@5.1.1 
│ │ │ ├── stringstream@0.0.5 
│ │ │ ├─┬ tough-cookie@2.3.2 
│ │ │ │ └── punycode@1.4.1 
│ │ │ ├─┬ tunnel-agent@0.6.0 
│ │ │ │ └── safe-buffer@5.1.1  deduped
│ │ │ └── uuid@3.1.0 
│ │ ├─┬ retry-request@2.0.5 
│ │ │ ├── request@2.81.0  deduped
│ │ │ └── through2@2.0.3  deduped
│ │ ├─┬ split-array-stream@1.0.3 
│ │ │ ├── async@2.5.0  deduped
│ │ │ └── is-stream-ended@0.1.3 
│ │ ├── stream-events@1.0.2  deduped
│ │ ├── string-format-obj@1.1.0  deduped
│ │ └── through2@2.0.3  deduped
│ ├── arrify@1.0.1 
│ ├─┬ async@2.5.0 
│ ��� └── lodash@4.17.4 
│ ├─┬ concat-stream@1.6.0 
│ │ ├── inherits@2.0.3 
│ │ ├─┬ readable-stream@2.3.3 
│ │ │ ├── core-util-is@1.0.2 
│ │ │ ├── inherits@2.0.3  deduped
│ │ │ ├── isarray@1.0.0  deduped
│ │ │ ├── process-nextick-args@1.0.7 
│ │ │ ├── safe-buffer@5.1.1  deduped
│ │ │ ├─┬ string_decoder@1.0.3 
│ │ │ │ └── safe-buffer@5.1.1  deduped
│ │ │ └── util-deprecate@1.0.2 
│ │ └── typedarray@0.0.6 
│ ├─┬ create-error-class@3.0.2 
│ │ └── capture-stack-trace@1.0.0 
│ ├─┬ duplexify@3.5.0 
│ │ ├─┬ end-of-stream@1.0.0 
│ │ │ └─┬ once@1.3.3 
│ │ │   └── wrappy@1.0.2  deduped
│ │ ├── inherits@2.0.3  deduped
│ │ ├── readable-stream@2.3.3  deduped
│ │ └── stream-shift@1.0.0 
│ ├── extend@3.0.1 
│ ├─┬ gcs-resumable-upload@0.8.0 
│ │ ├── buffer-equal@1.0.0 
│ │ ├─┬ configstore@3.1.0 
│ │ │ ├─┬ dot-prop@4.1.1 
│ │ │ │ └── is-obj@1.0.1 
│ │ │ ├── graceful-fs@4.1.11 
│ │ │ ├─┬ make-dir@1.0.0 
│ │ │ │ └── pify@2.3.0 
│ │ │ ├─┬ unique-string@1.0.0 
│ │ │ │ └── crypto-random-string@1.0.0 
│ │ │ ├─┬ write-file-atomic@2.1.0 
│ │ │ │ ├── graceful-fs@4.1.11  deduped
│ │ │ │ ├── imurmurhash@0.1.4 
│ │ │ │ └── slide@1.1.6 
│ │ │ └── xdg-basedir@3.0.0 
│ │ ├─┬ google-auto-auth@0.6.1 
│ │ │ ├── async@2.5.0  deduped
│ │ │ ├─┬ gcp-metadata@0.1.0 
│ │ │ │ ├── extend@3.0.1  deduped
│ │ │ │ └─┬ retry-request@1.3.2 
│ │ │ │   ├─┬ request@2.76.0 
│ │ │ │   │ ├── aws-sign2@0.6.0  deduped
│ │ │ │   │ ├── aws4@1.6.0  deduped
│ │ │ │   │ ├── caseless@0.11.0 
│ │ │ │   │ ├── combined-stream@1.0.5  deduped
│ │ │ │   │ ├── extend@3.0.1  deduped
│ │ │ │   │ ├── forever-agent@0.6.1  deduped
│ │ │ │   │ ├── form-data@2.1.4  deduped
│ │ │ │   │ ├─┬ har-validator@2.0.6 
│ │ │ │   │ │ ├─┬ chalk@1.1.3 
│ │ │ │   │ │ │ ├── ansi-styles@2.2.1 
│ │ │ │   │ │ │ ├── escape-string-regexp@1.0.5  deduped
│ │ │ │   │ │ │ ├─┬ has-ansi@2.0.0 
│ │ │ │   │ │ │ │ └── ansi-regex@2.1.1  deduped
│ │ │ │   │ │ │ ├── strip-ansi@3.0.1  deduped
│ │ │ │   │ │ │ └── supports-color@2.0.0 
│ │ │ │   │ │ ├── commander@2.11.0 
│ │ │ │   │ │ ├─┬ is-my-json-valid@2.16.0 
│ │ │ │   │ │ │ ├── generate-function@2.0.0 
│ │ │ │   │ │ │ ├─┬ generate-object-property@1.2.0 
│ │ │ │   │ │ │ │ └── is-property@1.0.2 
│ │ │ │   │ │ │ ├── jsonpointer@4.0.1 
│ │ │ │   │ │ │ └── xtend@4.0.1  deduped
│ │ │ │   │ │ └─┬ pinkie-promise@2.0.1 
│ │ │ │   │ │   └── pinkie@2.0.4 
│ │ │ │   │ ├── hawk@3.1.3  deduped
│ │ │ │   │ ├── http-signature@1.1.1  deduped
│ │ │ │   │ ├── is-typedarray@1.0.0  deduped
│ │ │ │   │ ├── isstream@0.1.2  deduped
│ │ │ │   │ ├── json-stringify-safe@5.0.1  deduped
│ │ │ │   │ ├── mime-types@2.1.15  deduped
│ │ │ │   │ ├── node-uuid@1.4.8 
│ │ │ │   │ ├── oauth-sign@0.8.2  deduped
│ │ │ │   │ ├── qs@6.3.2 
│ │ │ │   │ ├── stringstream@0.0.5  deduped
│ │ │ │   │ ├── tough-cookie@2.3.2  deduped
│ │ │ │   │ └── tunnel-agent@0.4.3 
│ │ │ │   └── through2@2.0.3  deduped
│ │ │ ├── google-auth-library@0.10.0  deduped
│ │ │ ├── object-assign@3.0.0 
│ │ │ └── request@2.81.0  deduped
│ │ ├── pumpify@1.3.5  deduped
│ │ ├── request@2.81.0  deduped
│ │ ├── stream-events@1.0.2  deduped
│ │ └── through2@2.0.3  deduped
│ ├─┬ hash-stream-validation@0.2.1 
│ │ └── through2@2.0.3  deduped
│ ├── is@3.2.1 
│ ├─┬ mime-types@2.1.15 
│ │ └── mime-db@1.27.0 
│ ├─┬ once@1.4.0 
│ │ └── wrappy@1.0.2 
│ ├─┬ pumpify@1.3.5 
│ │ ├── duplexify@3.5.0  deduped
│ │ ├── inherits@2.0.3  deduped
│ │ └─┬ pump@1.0.2 
│ │   ├─┬ end-of-stream@1.4.0 
│ │   │ └── once@1.4.0  deduped
│ │   └── once@1.4.0  deduped
│ ├─┬ stream-events@1.0.2 
│ │ └── stubs@3.0.0 
│ ├── string-format-obj@1.1.0 
│ └─┬ through2@2.0.3 
│   ├── readable-stream@2.3.3  deduped
│   └── xtend@4.0.1 
├─┬ aws-sdk@2.82.0 
│ ├─┬ buffer@4.9.1 
│ │ ├── base64-js@1.2.1 
│ │ ├── ieee754@1.1.8 
│ │ └── isarray@1.0.0 
│ ├── crypto-browserify@1.0.9 
│ ├── jmespath@0.15.0 
│ ├── querystring@0.2.0 
│ ├── sax@1.2.1 
│ ├─┬ url@0.10.3 
│ │ ├── punycode@1.3.2 
│ │ └── querystring@0.2.0  deduped
│ ├── uuid@3.0.1 
│ ├─┬ xml2js@0.4.17 
│ │ ├── sax@1.2.1  deduped
│ │ └── xmlbuilder@4.2.1  deduped
│ └─┬ xmlbuilder@4.2.1 
│   └── lodash@4.17.4  deduped
├─┬ babel-runtime@6.23.0 
│ ├── core-js@2.4.1 
│ └── regenerator-runtime@0.10.5 
├─┬ bcrypt@1.0.2 
│ ├── bindings@1.2.1 
│ ├── nan@2.5.0 
│ └─┬ node-pre-gyp@0.6.32 
│   ├─┬ mkdirp@0.5.1 
│   │ └── minimist@0.0.8 
│   ├─┬ nopt@3.0.6 
│   │ └── abbrev@1.1.0 
│   ├─┬ npmlog@4.1.2 
│   │ ├─┬ are-we-there-yet@1.1.4 
│   │ │ ├── delegates@1.0.0 
│   │ │ └── readable-stream@2.3.3  deduped
│   │ ├── console-control-strings@1.1.0 
│   │ ├─┬ gauge@2.7.4 
│   │ │ ├── aproba@1.1.2 
│   │ │ ├── console-control-strings@1.1.0  deduped
│   │ │ ├── has-unicode@2.0.1 
│   │ │ ├── object-assign@4.1.1 
│   │ │ ├── signal-exit@3.0.2 
│   │ │ ├─┬ string-width@1.0.2 
│   │ │ │ ├── code-point-at@1.1.0 
│   │ │ │ ├─┬ is-fullwidth-code-point@1.0.0 
│   │ │ │ │ └── number-is-nan@1.0.1 
│   │ │ │ └── strip-ansi@3.0.1  deduped
│   │ │ ├─┬ strip-ansi@3.0.1 
│   │ │ │ └── ansi-regex@2.1.1 
│   │ │ └─┬ wide-align@1.1.2 
│   │ │   └── string-width@1.0.2  deduped
│   │ └── set-blocking@2.0.0 
│   ├─┬ rc@1.1.7 
│   │ ├── deep-extend@0.4.2 
│   │ ├── ini@1.3.4 
│   │ ├── minimist@1.2.0 
│   │ └── strip-json-comments@2.0.1 
│   ├── request@2.81.0  deduped
│   ├─┬ rimraf@2.5.4 
│   │ └─┬ glob@7.1.2 
│   │   ├── fs.realpath@1.0.0 
│   │   ├─┬ inflight@1.0.6 
│   │   │ ├── once@1.4.0  deduped
│   │   │ └── wrappy@1.0.2  deduped
│   │   ├── inherits@2.0.3  deduped
│   │   ├── minimatch@3.0.4  deduped
│   │   ├── once@1.4.0  deduped
│   │   └── path-is-absolute@1.0.1 
│   ├── semver@5.3.0  deduped
│   ├─┬ tar@2.2.1 
│   │ ├─┬ block-stream@0.0.9 
│   │ │ └── inherits@2.0.3  deduped
│   │ ├─┬ fstream@1.0.11 
│   │ │ ├── graceful-fs@4.1.11  deduped
│   │ │ ├── inherits@2.0.3  deduped
│   │ │ ├── mkdirp@0.5.1  deduped
│   │ │ └── rimraf@2.5.4  deduped
│   │ └── inherits@2.0.3  deduped
│   └─┬ tar-pack@3.3.0 
│     ├─┬ debug@2.2.0 
│     │ └── ms@0.7.1 
│     ├── fstream@1.0.11  deduped
│     ├─┬ fstream-ignore@1.0.5 
│     │ ├── fstream@1.0.11  deduped
│     │ ├── inherits@2.0.3  deduped
│     │ └── minimatch@3.0.4  deduped
│     ├─┬ once@1.3.3 
│     │ └── wrappy@1.0.2  deduped
│     ├─┬ readable-stream@2.1.5 
│     │ ├── buffer-shims@1.0.0 
│     │ ├── core-util-is@1.0.2  deduped
│     │ ├── inherits@2.0.3  deduped
│     │ ├── isarray@1.0.0  deduped
│     │ ├── process-nextick-args@1.0.7  deduped
│     │ ├── string_decoder@0.10.31 
│     │ └── util-deprecate@1.0.2  deduped
│     ├── rimraf@2.5.4  deduped
│     ├── tar@2.2.1  deduped
│     └── uid-number@0.0.6 
├── codemirror@5.27.4 
├── file-type@4.4.0 
├── highlight.js@9.12.0 
├── jquery@3.2.1 
├── mime-db@1.28.0 
├─┬ mime-type@3.0.5 
│ ├── media-typer@0.3.0 
│ ├─┬ minimatch@3.0.4 
│ │ └─┬ brace-expansion@1.1.8 
│ │   ├── balanced-match@1.0.0 
│ │   └── concat-map@0.0.1 
│ ├─┬ path.js@1.0.7 
│ │ ├── escape-string-regexp@1.0.5 
│ │ ├─┬ inherits-ex@1.2.0 
│ │ │ └── xtend@4.0.1  deduped
│ │ └── util-ex@0.3.15  deduped
│ └─┬ util-ex@0.3.15 
│   ├── inherits-ex@1.2.0  deduped
│   └── xtend@4.0.1  deduped
├── moment@2.18.1 
├─┬ moment-timezone@0.5.13 
│ └── moment@2.18.1  deduped
├── photoswipe@4.1.2 
├─┬ prom-client@9.1.1 
│ ├─┬ tdigest@0.1.1 
│ │ └── bintrees@1.0.1 
│ └── util-extend@1.0.3 
├── semver@5.3.0 
└── toastr@2.1.2 
 => Errors while adding packages:
While loading emojione:emojione@2.2.6...:
error: Command failed:
/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.4_2.9u668w++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm
rebuild --update-binary
Phantom installation failed { [Error: EACCES: permission denied, open
'/tmp/mt-u5ggcj/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js']
errno: -13,
code: 'EACCES',
syscall: 'open',
path:
'/tmp/mt-u5ggcj/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js'
} Error: EACCES: permission denied, open
'/tmp/mt-u5ggcj/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at Object.fs.writeFileSync (fs.js:1156:15)
at writeLocationFile
(/tmp/mt-u5ggcj/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/install.js:108:6)
at Promise._successFn
(/tmp/mt-u5ggcj/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/install.js:80:5)
at nextTickCallback
(/tmp/mt-u5ggcj/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/kew/kew.js:47:28)
at nextTickCallbackWith0Args (node.js:489:9)
at process._tickCallback (node.js:418:13)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! phantomjs@1.9.20 install: `node install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the phantomjs@1.9.20 install script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the phantomjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs phantomjs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls phantomjs
npm ERR! There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!
/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.4_2.9u668w++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/.npm/_logs/2017-07-07T14_11_49_208Z-debug.log
Phantom installation failed { [Error: EACCES: permission denied, open
'/tmp/mt-u5ggcj/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js']
errno: -13,
code: 'EACCES',
syscall: 'open',
path:
'/tmp/mt-u5ggcj/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js'
} Error: EACCES: permission denied, open
'/tmp/mt-u5ggcj/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/location.js'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at Object.fs.writeFileSync (fs.js:1156:15)
at writeLocationFile
(/tmp/mt-u5ggcj/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/install.js:108:6)
at Promise._successFn
(/tmp/mt-u5ggcj/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/install.js:80:5)
at nextTickCallback
(/tmp/mt-u5ggcj/npm/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/node_modules/kew/kew.js:47:28)
at nextTickCallbackWith0Args (node.js:489:9)
at process._tickCallback (node.js:418:13)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! phantomjs@1.9.20 install: `node install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the phantomjs@1.9.20 install script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the phantomjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs phantomjs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls phantomjs
npm ERR! There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!
/app/tmp/cache/meteor/.meteor/packages/meteor-tool/.1.4.4_2.9u668w++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/.npm/_logs/2017-07-07T14_11_49_208Z-debug.log
-----> Running before bundling
-----> Installing phantomjs.
-----> Building Meteor app with ROOT_URL: https://vishnu-chat.herokuapp.com
rocketchat:lib: updating npm dependencies -- bad-words, object-path,
node-dogstatsd, localforage, lokijs, bugsnag, prom-client...
rocketchat:2fa: updating npm dependencies -- speakeasy, yaqrcode...
rocketchat:file: updating npm dependencies -- mkdirp, gridfs-stream, gm...
rocketchat:assets: updating npm dependencies -- image-size...
rocketchat:theme: updating npm dependencies -- less, less-plugin-autoprefix...
rocketchat:api: updating npm dependencies -- busboy...
rocketchat:autolinker: updating npm dependencies -- autolinker...
rocketchat:cas: updating npm dependencies -- cas...
rocketchat:crowd: updating npm dependencies -- atlassian-crowd...
rocketchat:file-upload: updating npm dependencies -- filesize...
rocketchat:importer: updating npm dependencies -- adm-zip, bson...
rocketchat:importer-csv: updating npm dependencies -- csv-parse...
rocketchat:importer-hipchat-enterprise: updating npm dependencies --
tar-stream...
rocketchat:internal-hubot: updating npm dependencies -- coffee-script, hubot,
hubot-help...
rocketchat:irc: updating npm dependencies -- coffee-script, lru-cache...
rocketchat:sms: updating npm dependencies -- twilio...
Livechat: updating npm dependencies -- shelljs, uglify-js...
rocketchat:livechat: updating npm dependencies -- ua-parser-js, uglify-js...
> bcrypt@1.0.2 install /tmp/build_2299c543c52c5260a23bcc512dfdc58f/RocketChat-Rocket.Chat-0c0fa2a/packages/rocketchat-livechat/app/node_modules/bcrypt
> node-pre-gyp install --fallback-to-build
[bcrypt] Success: "/tmp/build_2299c543c52c5260a23bcc512dfdc58f/RocketChat-Rocket.Chat-0c0fa2a/packages/rocketchat-livechat/app/node_modules/bcrypt/lib/binding/bcrypt_lib.node" is installed via remote
rocketchat-livechat@1.0.0 /tmp/build_2299c543c52c5260a23bcc512dfdc58f/RocketChat-Rocket.Chat-0c0fa2a/packages/rocketchat-livechat/app
├── autolinker@1.4.3 
├─┬ babel-runtime@6.23.0 
│ ├── core-js@2.4.1 
│ └── regenerator-runtime@0.10.5 
├─┬ bcrypt@1.0.2 
│ ├── bindings@1.2.1 
│ ├── nan@2.5.0 
│ └─┬ node-pre-gyp@0.6.32 
│   ├─┬ mkdirp@0.5.1 
│   │ └── minimist@0.0.8 
│   ├─┬ nopt@3.0.6 
│   │ └── abbrev@1.1.0 
│   ├─┬ npmlog@4.1.2 
│   │ ├─┬ are-we-there-yet@1.1.4 
│   │ │ ├── delegates@1.0.0 
│   │ │ └─┬ readable-stream@2.3.3 
│   │ │   ├── core-util-is@1.0.2  deduped
│   │ │   ├── inherits@2.0.3  deduped
│   │ │   ├── isarray@1.0.0  deduped
│   │ │   ├── process-nextick-args@1.0.7  deduped
│   │ │   ├── safe-buffer@5.1.1  deduped
│   │ │   ├─┬ string_decoder@1.0.3 
│   │ │   │ └── safe-buffer@5.1.1  deduped
│   │ │   └── util-deprecate@1.0.2  deduped
│   │ ├── console-control-strings@1.1.0 
│   │ ├─┬ gauge@2.7.4 
│   │ │ ├── aproba@1.1.2 
│   │ │ ├── console-control-strings@1.1.0  deduped
│   │ │ ├── has-unicode@2.0.1 
│   │ │ ├── object-assign@4.1.1 
│   │ │ ├── signal-exit@3.0.2 
│   │ │ ├─┬ string-width@1.0.2 
│   │ │ │ ├── code-point-at@1.1.0 
│   │ │ │ ├─┬ is-fullwidth-code-point@1.0.0 
│   │ │ │ │ └── number-is-nan@1.0.1 
│   │ │ │ └── strip-ansi@3.0.1  deduped
│   │ │ ├─┬ strip-ansi@3.0.1 
│   │ │ │ └── ansi-regex@2.1.1 
│   │ │ └─┬ wide-align@1.1.2 
│   │ │   └── string-width@1.0.2  deduped
│   │ └── set-blocking@2.0.0 
│   ├─┬ rc@1.1.7 
│   │ ├── deep-extend@0.4.2 
│   │ ├── ini@1.3.4 
│   │ ├── minimist@1.2.0 
│   │ └── strip-json-comments@2.0.1 
│   ├─┬ request@2.81.0 
│   │ ├── aws-sign2@0.6.0 
│   │ ├── aws4@1.6.0 
│   │ ├── caseless@0.12.0 
│   │ ├─┬ combined-stream@1.0.5 
│   │ │ └── delayed-stream@1.0.0 
│   │ ├── extend@3.0.1 
│   │ ├── forever-agent@0.6.1 
│   │ ├─┬ form-data@2.1.4 
│   │ │ ├── asynckit@0.4.0 
│   │ │ ├── combined-stream@1.0.5  deduped
│   │ │ └── mime-types@2.1.15  deduped
│   │ ├─┬ har-validator@4.2.1 
│   │ │ ├─┬ ajv@4.11.8 
│   │ │ │ ├── co@4.6.0 
│   │ │ │ └─┬ json-stable-stringify@1.0.1 
│   │ │ │   └── jsonify@0.0.0 
│   │ │ └── har-schema@1.0.5 
│   │ ├─┬ hawk@3.1.3 
│   │ │ ├─┬ boom@2.10.1 
│   │ │ │ └── hoek@2.16.3  deduped
│   │ │ ├─┬ cryptiles@2.0.5 
│   │ │ │ └── boom@2.10.1  deduped
│   │ │ ├── hoek@2.16.3 
│   │ │ └─┬ sntp@1.0.9 
│   │ │   └── hoek@2.16.3  deduped
│   │ ├─┬ http-signature@1.1.1 
│   │ │ ├── assert-plus@0.2.0 
│   │ │ ├─┬ jsprim@1.4.0 
│   │ │ │ ├── assert-plus@1.0.0 
│   │ │ │ ├── extsprintf@1.0.2 
│   │ │ │ ├── json-schema@0.2.3 
│   │ │ │ └─┬ verror@1.3.6 
│   │ │ │   └── extsprintf@1.0.2  deduped
│   │ │ └─┬ sshpk@1.13.1 
│   │ │   ├── asn1@0.2.3 
│   │ │   ├── assert-plus@1.0.0 
│   │ │   ├─┬ bcrypt-pbkdf@1.0.1 
│   │ │   │ └── tweetnacl@0.14.5  deduped
│   │ │   ├─┬ dashdash@1.14.1 
│   │ │   │ └── assert-plus@1.0.0 
│   │ │   ├─┬ ecc-jsbn@0.1.1 
│   │ │   │ └── jsbn@0.1.1  deduped
│   │ │   ├─┬ getpass@0.1.7 
│   │ │   │ └── assert-plus@1.0.0 
│   │ │   ├── jsbn@0.1.1 
│   │ │   └── tweetnacl@0.14.5 
│   │ ├── is-typedarray@1.0.0 
│   │ ├── isstream@0.1.2 
│   │ ├── json-stringify-safe@5.0.1 
│   │ ├─┬ mime-types@2.1.15 
│   │ │ └── mime-db@1.27.0 
│   │ ├── oauth-sign@0.8.2 
│   │ ├── performance-now@0.2.0 
│   │ ├── qs@6.4.0 
│   │ ├── safe-buffer@5.1.1 
│   │ ├── stringstream@0.0.5 
│   │ ├─┬ tough-cookie@2.3.2 
│   │ │ └── punycode@1.4.1 
│   │ ├─┬ tunnel-agent@0.6.0 
│   │ │ └── safe-buffer@5.1.1  deduped
│   │ └── uuid@3.1.0 
│   ├─┬ rimraf@2.5.4 
│   │ └─┬ glob@7.1.2 
│   │   ├── fs.realpath@1.0.0 
│   │   ├─┬ inflight@1.0.6 
│   │   │ ├── once@1.4.0  deduped
│   │   │ └── wrappy@1.0.2  deduped
│   │   ├── inherits@2.0.3  deduped
│   │   ├─┬ minimatch@3.0.4 
│   │   │ └─┬ brace-expansion@1.1.8 
│   │   │   ├── balanced-match@1.0.0 
│   │   │   └── concat-map@0.0.1 
│   │   ├─┬ once@1.4.0 
│   │   │ └── wrappy@1.0.2  deduped
│   │   └── path-is-absolute@1.0.1 
│   ├── semver@5.3.0 
│   ├─┬ tar@2.2.1 
│   │ ├─┬ block-stream@0.0.9 
│   │ │ └── inherits@2.0.3  deduped
│   │ ├─┬ fstream@1.0.11 
│   │ │ ├── graceful-fs@4.1.11 
│   │ │ ├── inherits@2.0.3  deduped
│   │ │ ├── mkdirp@0.5.1  deduped
│   │ │ └── rimraf@2.5.4  deduped
│   │ └── inherits@2.0.3 
│   └─┬ tar-pack@3.3.0 
│     ├─┬ debug@2.2.0 
│     │ └── ms@0.7.1 
│     ├── fstream@1.0.11  deduped
│     ├─┬ fstream-ignore@1.0.5 
│     │ ├── fstream@1.0.11  deduped
│     │ ├── inherits@2.0.3  deduped
│     │ └── minimatch@3.0.4  deduped
│     ├─┬ once@1.3.3 
│     │ └── wrappy@1.0.2 
│     ├─┬ readable-stream@2.1.5 
│     │ ├── buffer-shims@1.0.0 
│     │ ├── core-util-is@1.0.2 
│     │ ├── inherits@2.0.3  deduped
│     │ ├── isarray@1.0.0 
│     │ ├── process-nextick-args@1.0.7 
│     │ ├── string_decoder@0.10.31 
│     │ └── util-deprecate@1.0.2 
│     ├── rimraf@2.5.4  deduped
│     ├── tar@2.2.1  deduped
│     └── uid-number@0.0.6 
├── jquery@3.2.1 
├── moment@2.18.1 
└── toastr@2.1.2 
rocketchat:oembed: updating npm dependencies -- he, jschardet, iconv-lite,
ip-range-check...
minifier-postcss: updating npm dependencies -- app-module-path, postcss,
source-map...
rocketchat:slackbridge: updating npm dependencies -- slack-client...
rocketchat:ui-master: updating npm dependencies -- clipboard...
rocketchat:tutum: updating npm dependencies -- redis...
steffo:meteor-accounts-saml: updating npm dependencies -- xml2js, xml-crypto,
xmldom, connect, xmlbuilder, querystring...
WARN: Output exceeds 32000 characters
WARN: Output exceeds 32000 characters
WARN: Output exceeds 32000 characters
packages/rocketchat_theme/client/main.css: warn: there are some @import rules those are not taking effect as they are required to be in the beginning of the file
WARN: Output exceeds 32000 characters
WARN: Output exceeds 32000 characters
WARN: Output exceeds 32000 characters
packages/rocketchat_theme/client/main.css: warn: there are some @import rules those are not taking effect as they are required to be in the beginning of the file
Errors prevented bundling:
While minifying app stylesheet:
error: Can't load npm module 'postcss-smart-import' from
packages/minifier-postcss_plugin.js. Check your Npm.depends().
error: Can't load npm module 'postcss-cssnext' from
packages/minifier-postcss_plugin.js. Check your Npm.depends().
While minifying app stylesheet:
error: Can't load npm module 'postcss-smart-import' from
packages/minifier-postcss_plugin.js. Check your Npm.depends().
error: Can't load npm module 'postcss-cssnext' from
packages/minifier-postcss_plugin.js. Check your Npm.depends().
 !     Push rejected, failed to compile Node.js app.
 !     Push failed

@sampaiodiego
Copy link
Member

@vishnuprabhu-g no it is not.. until there please overwride the config var NODE_ENV with the value development (instead of production)

@ravimallya
Copy link

Same error even after changing the NODE_ENV to development.

Trying to deploy Rocket.Chat in Heroku using both CLI and OneClick install. Both time it's getting failed. Here's the log when I use the CLI to push.

Searched all the bugs here and did all as what they suggested. But still can't install. Exact error might because of this: Not sure how to fix. Please suggest/assist.

sh: 0: Can't open /tmp/build_f72612340972962d9c54cdd53ad09b5f/packages/rocketchat-livechat/plugin/build.sh
/app/tmp/cache/meteor/.meteor/packages/less/.2.7.9.by3u3b++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:190
      throw error;
      ^
Error: Builder can not write without either data or a file path or a symlink path: os/packages/rocketchat_livechat/public/head.html

@markb-trustifi
Copy link

markb-trustifi commented Feb 4, 2020

Failed to install Rocket.Chat in Heroku from develop branch:

added 136 packages from 117 contributors and audited 305 packages in 29.591s
1 package is looking for funding
  run `npm fund` for details
found 0 vulnerabilities
-----> Adding PATH environment
-----> Running extras
-----> Adding MONGODB_URI -> MONGO_URL env
-----> Adding profile script to resolve MONGO_URL from mongolab addon
-----> Adding profile script to resolve ROOT_URL from heroku app name
-----> Discovering process types
       Procfile declares types     -> (none)
       Default types for buildpack -> web
-----> Compressing...
 !     Compiled slug size: 512.6M is too large (max is 500M).
 !     See: http://devcenter.heroku.com/articles/slug-size
 !     Push failed

@srush
Copy link

srush commented Jun 9, 2020

This issue is still occurring.

@wajeeh-devsinc
Copy link

wajeeh-devsinc commented Jun 30, 2020

Still we're having this issue even with one click deploy on this doc page
https://docs.rocket.chat/installation/paas-deployments/heroku

@josomir
Copy link

josomir commented Jul 7, 2020

We can confirm that one click deploy is still having this same issue.

@simeononsecurity
Copy link

Still having the same issue myself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests