Some new dependency or some other damn thing causes npm error during get push heroku master deployment:
-----> Node.js app detected -----> Resolving engine versions Using Node.js version: 0.10.1 Using npm version: 1.2.15 -----> Fetching Node.js binaries -----> Vendoring node into slug -----> Installing dependencies with npm .... npm ERR! Additional logging details can be found in: npm ERR! /tmp/build_24pmtv04ok0ss/npm-debug.log npm ERR! not ok code 0
not ok really. There is no other useful information on the console, so of course I want to see what is in this log file.
So I try a little:
$ heroku run cat /tmp/build_24pmtv04ok0ss/npm-debug.log
However, such a file does not exist:
Running `cat /tmp/build_24pmtv04ok0ss/npm-debug.log` attached to terminal... up, run.3166 cat: /tmp/build_24pmtv04ok0ss/npm-debug.log: No such file or directory
My questions are as follows:
- Where did the log file go? Why can't I read it?
- Is there any other way for Heroku / npm to give me a detailed error printed on the console?
- Why is the same node environment working fine locally but not working on Heroku?
source share