heroku上部署node出错了
发布于 11 年前 作者 JackWon 4485 次浏览 最后一次编辑是 8 年前

这是日志 -----> Node.js app detected

   PRO TIP: Specify a node version in package.json
   See https://devcenter.heroku.com/articles/nodejs-support

-----> Defaulting to latest stable node: 0.10.28 -----> Downloading and installing node -----> Found existing node_modules directory; skipping cache -----> Rebuilding any native dependencies

   > bson[@0](/user/0).2.7 install /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/mongodb/node_modules/bson
   > (node-gyp rebuild 2> builderror.log) || (exit 0)
   
   make: Entering directory `/tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/mongodb/node_modules/bson/build'
     CXX(target) Release/obj.target/bson/ext/bson.o
     SOLINK_MODULE(target) Release/obj.target/bson.node
     SOLINK_MODULE(target) Release/obj.target/bson.node: Finished
     COPY Release/bson.node
   make: Leaving directory `/tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/mongodb/node_modules/bson/build'
   
   > kerberos[@0](/user/0).0.3 install /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/mongodb/node_modules/kerberos
   > (node-gyp rebuild 2> builderror.log) || (exit 0)
   
   make: Entering directory `/tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/mongodb/node_modules/kerberos/build'
     SOLINK_MODULE(target) Release/obj.target/kerberos.node
     SOLINK_MODULE(target) Release/obj.target/kerberos.node: Finished
     COPY Release/kerberos.node
   make: Leaving directory `/tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/mongodb/node_modules/kerberos/build'
   
   > bson[@0](/user/0).2.5 install /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson
   > (node-gyp rebuild 2> builderror.log) || (exit 0)
   
   make: Entering directory `/tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/build'
     CXX(target) Release/obj.target/bson/ext/bson.o
     SOLINK_MODULE(target) Release/obj.target/bson.node
     SOLINK_MODULE(target) Release/obj.target/bson.node: Finished
     COPY Release/bson.node
   make: Leaving directory `/tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson/build'
   
   > kerberos[@0](/user/0).0.3 install /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/connect-mongo/node_modules/mongodb/node_modules/kerberos
   > (node-gyp rebuild 2> builderror.log) || (exit 0)
   
   make: Entering directory `/tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/connect-mongo/node_modules/mongodb/node_modules/kerberos/build'
     SOLINK_MODULE(target) Release/obj.target/kerberos.node
     SOLINK_MODULE(target) Release/obj.target/kerberos.node: Finished
     COPY Release/kerberos.node
   make: Leaving directory `/tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/connect-mongo/node_modules/mongodb/node_modules/kerberos/build'
   express[@3](/user/3).5.1 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express
   connect[@2](/user/2).14.1 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect
   basic-auth-connect[@1](/user/1).0.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/basic-auth-connect
   cookie-parser[@1](/user/1).0.1 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/cookie-parser
   cookie[@0](/user/0).1.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/cookie-parser/node_modules/cookie
   cookie-signature[@1](/user/1).0.3 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/cookie-signature
   compression[@1](/user/1).0.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/compression
   bytes[@0](/user/0).2.1 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/bytes
   negotiator[@0](/user/0).3.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/compression/node_modules/negotiator
   compressible[@1](/user/1).0.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/compression/node_modules/compressible
   connect-timeout[@1](/user/1).0.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/connect-timeout
   debug[@0](/user/0).8.1 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/debug
   csurf[@1](/user/1).0.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/csurf
   uid2[@0](/user/0).0.3 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/csurf/node_modules/uid2
   errorhandler[@1](/user/1).0.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/errorhandler
   express-session[@1](/user/1).0.2 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/express-session
   utils-merge[@1](/user/1).0.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/express-session/node_modules/utils-merge
   cookie[@0](/user/0).1.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/express-session/node_modules/cookie
   uid2[@0](/user/0).0.3 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/express-session/node_modules/uid2
   buffer-crc32[@0](/user/0).2.1 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/buffer-crc32
   debug[@0](/user/0).7.4 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/express-session/node_modules/debug
   fresh[@0](/user/0).2.2 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/fresh
   method-override[@1](/user/1).0.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/method-override
   methods[@0](/user/0).1.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/methods
   morgan[@1](/user/1).0.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/morgan
   qs[@0](/user/0).6.6 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/qs
   response-time[@1](/user/1).0.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/response-time
   serve-index[@1](/user/1).0.1 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/serve-index
   batch[@0](/user/0).5.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/serve-index/node_modules/batch
   negotiator[@0](/user/0).4.2 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/serve-index/node_modules/negotiator
   serve-static[@1](/user/1).0.2 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/serve-static
   send[@0](/user/0).2.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/send
   mime[@1](/user/1).2.11 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/send/node_modules/mime
   range-parser[@1](/user/1).0.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/range-parser
   static-favicon[@1](/user/1).0.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/static-favicon
   vhost[@1](/user/1).0.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/vhost
   pause[@0](/user/0).0.1 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/pause
   raw-body[@1](/user/1).1.3 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/raw-body
   multiparty[@2](/user/2).2.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/multiparty
   readable-stream[@1](/user/1).1.13-1 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream
   core-util-is[@1](/user/1).0.1 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/core-util-is
   isarray[@0](/user/0).0.1 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/isarray
   string_decoder[@0](/user/0).10.25-1 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/string_decoder
   inherits[@2](/user/2).0.1 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/inherits
   stream-counter[@0](/user/0).2.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/stream-counter
   commander[@1](/user/1).3.2 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/commander
   keypress[@0](/user/0).1.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/commander/node_modules/keypress
   mkdirp[@0](/user/0).3.5 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/mkdirp
   cookie[@0](/user/0).1.1 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/cookie
   merge-descriptors[@0](/user/0).0.2 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/express/node_modules/merge-descriptors
   ejs[@1](/user/1).0.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/ejs
   mongodb[@1](/user/1).4.3 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/mongodb
   bson[@0](/user/0).2.7 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/mongodb/node_modules/bson
   nan[@0](/user/0).8.0 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/mongodb/node_modules/bson/node_modules/nan
   kerberos[@0](/user/0).0.3 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/mongodb/node_modules/kerberos
   connect-mongo[@0](/user/0).4.1 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/connect-mongo
   mongodb[@1](/user/1).3.23 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/connect-mongo/node_modules/mongodb
   bson[@0](/user/0).2.5 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/connect-mongo/node_modules/mongodb/node_modules/bson
   kerberos[@0](/user/0).0.3 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/connect-mongo/node_modules/mongodb/node_modules/kerberos
   connect-flash[@0](/user/0).1.1 /tmp/build_4142cc69-67bf-4222-9ffc-8337c3e3bc81/node_modules/connect-flash

-----> Writing a custom .npmrc to circumvent npm bugs -----> Exporting config vars to environment -----> Installing dependencies -----> Caching node_modules directory for future builds -----> Cleaning up node-gyp and npm artifacts -----> Building runtime environment -----> Discovering process types

-----> Compressing… done, 9.8MB -----> Launching… done, v3 http://calm-cliffs-4146.herokuapp.com/ deployed to Heroku

1 回复

也碰到了这个问题,悲剧了,共同探讨, 欢迎回访

回到顶部