prose / gatekeeper

Enables client-side applications to dance OAuth with GitHub.
MIT License
761 stars 183 forks source link

Heroku push going bananas #7

Closed benedfit closed 10 years ago

benedfit commented 11 years ago

Currently trying to deploy to Heroku, but getting the following:

-----> Node.js app detected
-----> Resolving engine versions
       Using Node.js version: 0.6.20
       Using npm version: 1.3.5
-----> Fetching Node.js binaries
-----> Vendoring node into slug
-----> Installing dependencies with npm
       npm ERR! Error: Cannot find module 'readable-stream'
       npm ERR!     at Function._resolveFilename (module.js:337:11)
       npm ERR!     at Function._load (module.js:279:25)
       npm ERR!     at Module.require (module.js:359:17)
       npm ERR!     at require (module.js:375:17)
       npm ERR!     at Object.<anonymous> (/tmp/node-npm-C24G/node_modules/sha/index.js:3:48)
       npm ERR!     at Module._compile (module.js:446:26)
       npm ERR!     at Object..js (module.js:464:10)
       npm ERR!     at Module.load (module.js:353:31)
       npm ERR!     at Function._load (module.js:311:12)
       npm ERR!     at Module.require (module.js:359:17)
       npm ERR! If you need help, you may report this log at:
       npm ERR!     <http://github.com/isaacs/npm/issues>
       npm ERR! or email it to:
       npm ERR!     <npm-@googlegroups.com>

       npm ERR! System Linux 3.8.11-ec2
       npm ERR! command "/tmp/node-node-byRW/bin/node" "/tmp/node-npm-C24G/cli.js" "install" "--production"
       npm ERR! cwd /tmp/build_3gsw71ildaxmz
       npm ERR! node -v v0.6.20
       npm ERR! npm -v 1.3.5
       npm ERR!
       npm ERR! Additional logging details can be found in:
       npm ERR!     /tmp/build_3gsw71ildaxmz/npm-debug.log
       npm ERR! not ok code undefined
       npm ERR! not ok code 1
 !     Failed to install --production dependencies with npm
0 info it worked if it ends with okundefined1 verbose cli [ '/tmp/node-node-byRW/bin/node',undefined1 verbose cli   '/tmp/node-npm-C24G/cli.js',undefined1 verbose cli   'install',undefined1 verbose cli   '--
production' ]undefined2 info using npm@1.3.5undefined3 info using node@v0.6.20undefined4 error Error: Cannot find module 'readable-stream'undefined4 error     at Function._resolveFilename (module.js:337:11)u
ndefined4 error     at Function._load (module.js:279:25)undefined4 error     at Module.require (module.js:359:17)undefined4 error     at require (module.js:375:17)undefined4 error     at Object.<anonymous> (
/tmp/node-npm-C24G/node_modules/sha/index.js:3:48)undefined4 error     at Module._compile (module.js:446:26)undefined4 error     at Object..js (module.js:464:10)undefined4 error     at Module.load (module.js
:353:31)undefined4 error     at Function._load (module.js:311:12)undefined4 error     at Module.require (module.js:359:17)undefined5 error If you need help, you may report this log at:undefined5 error     <h
ttp://github.com/isaacs/npm/issues>undefined5 error or email it to:undefined5 error     <npm-@googlegroups.com>undefined6 error System Linux 3.8.11-ec2undefined7 error command "/tmp/node-node-byRW/bin/node"
"/tmp/node-npm-C24G/cli.js" "install" "--production"undefined8 error cwd /tmp/build_3gsw71ildaxmzundefined9 error node -v v0.6.20undefined10 error npm -v 1.3.5undefined11 verbose exit [ 1, true ]undefined
 !     Push rejected, failed to compile Node.js app

Any ideas?

zzolo commented 10 years ago

This was probably resolved with this change: https://github.com/prose/gatekeeper/pull/9