Heroku NodeJS应用程序(“推送拒绝,无法编译Node.js应用程序”)

时间:2013-11-07 18:34:54

标签: git node.js heroku express

我是NodeJS的新手,所以请耐心等待。

我尝试将我的NodeJS应用程序放在Heroku上但得到错误并且推送被拒绝。

有人可以帮助我吗?



git push heroku master 计数对象:397,完成。 压缩对象:100%(321/321),完成。 写作对象:100%(397/397),247.73 KiB | 146.00 KiB / s,完成。 总计397(delta 52),重复使用397(delta 52)

- - - - >已检测到Node.js应用

- - - - >解决引擎版本

   WARNING: No version of Node.js specified in package.json, see:
   https://devcenter.heroku.com/articles/nodejs-support#versions

   Using Node.js version: 0.10.21
   Using npm version: 1.3.11

- - - - >获取Node.js二进制文件

- - - - >将节点供应到slug

- - - - >使用npm

安装依赖项
   npm WARN unmet dependency /tmp/build_b374fb54-2391-435c-b6f7-1abb04409286/node_modules/express/node_modules/connect requires debug@'*' but will load
   npm WARN unmet dependency undefined,
   npm WARN unmet dependency which is version undefined
   npm WARN unmet dependency /tmp/build_b374fb54-2391-435c-b6f7-1abb04409286/node_modules/express/node_modules/send requires debug@'*' but will load
   npm WARN unmet dependency undefined,
   npm WARN unmet dependency which is version undefined
   npm ERR! Error: ENOENT, chmod '/tmp/build_b374fb54-2391-435c-b6f7-1abb04409286/node_modules/express/bin/express'
   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-MGdc/bin/node" "/tmp/node-npm-Jn8d/cli.js" "rebuild"
   npm ERR! cwd /tmp/build_b374fb54-2391-435c-b6f7-1abb04409286
   npm ERR! node -v v0.10.21
   npm ERR! npm -v 1.3.11
   npm ERR! path /tmp/build_b374fb54-2391-435c-b6f7-1abb04409286/node_modules/express/bin/express
   npm ERR! code ENOENT
   npm ERR! errno 34
   npm ERR! 
   npm ERR! Additional logging details can be found in:
   npm ERR!     /tmp/build_b374fb54-2391-435c-b6f7-1abb04409286/npm-debug.log
   npm ERR! not ok code 0

!无法使用npm

重建依赖项

0信息如果以ok结尾

就可以了

1 verbose cli [&#39; / tmp / node-node-MGdc / bin / node&#39;,

1 verbose cli&#39; /tmp/node-npm-Jn8d/cli.js' ;,

1 verbose cli&#39; rebuild&#39; ]

2 info使用npm@1.3.11

3 info使用node@v0.10.21

4 info readInstalled object

5详细的重建路径,id [&#39; / tmp / build_b374fb54-2391-435c-b6f7-1abb04409286&#39;,

5详细重建&#39; RUMListSrv@0.0.1' ]

6详细的重建路径,id [&#39; / tmp / build_b374fb54-2391-435c-b6f7-1abb04409286 / node_modules / express&#39;,

6详细重建&#39; express@3.3.7' ]

7详细的重建路径,id [&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /连接&#39;,

7详细重建&#39; connect@2.8.7' ]

8详细重建路径,id [&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /连接/ node_modules /适量&#39;,

8详细重建&#39; qs@0.6.5' ]

9详细的重建路径,id [&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /连接/ node_modules /强大&#39;,

9详细重建&#39; formidable@1.0.14' ]

10详细的重建路径,id [&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules / cookie的签名&#39;,

10详细重建&#39; cookie-signature@1.0.1' ]

11详细的重建路径,id [&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /缓冲CRC32&#39;,

11详细重建&#39; buffer-crc32@0.2.1' ]

12详细重建路径,id [&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /饼干&#39;,

12详细重建&#39; cookie@0.1.0' ]

13详细重建路径,id [&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /发送&#39;,

13详细重建&#39; send@0.1.4' ]

14详细重建路径,id [&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /表达/ node_modules /发送/ node_modules / MIME&#39;,

14详细重建&m; mime@1.2.11&#39; ]

15详细的重建路径,id [&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /新鲜&#39;,

15详细重建&#39; fresh@0.2.0' ]

16详细重建路径,id [&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /范围解析器&#39;,

16 verbose rebuild&#39; range-parser@0.0.4' ]

17详细的重建路径,id [&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /表达/ node_modules /连接/ node_modules /字节&#39;,

17 verbose rebuild&#39; bytes@0.2.0' ]

18详细重建路径,id [&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /连接/ node_modules /暂停&#39;,

18详细重建&#39; pause@0.0.1' ]

19详细重建路径,id [&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /表达/ node_modules /连接/ node_modules / UID2&#39;,

19 verbose rebuild&#39; uid2@0.0.2' ]

20详细的重建路径,id [&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /方法&#39;,

20 verbose rebuild&#39; methods@0.0.1' ]

21详细重建路径,id [&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /指挥官&#39;,

21 verbose rebuild&#39; commander@1.2.0' ]

22详细重建路径,id [&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /指挥官/ node_modules /按键&#39;,

22 verbose rebuild&#39; keypress@0.1.0' ]

23详细的重建路径,id [&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules / mkdirp&#39;,

23 verbose rebuild&mkdirp@0.3.5&#39; ]

24傻重建集[&#39; / tmp / build_b374fb54-2391-435c-b6f7-1abb04409286 / node_modules / express&#39;,

24傻重建集&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /连接&#39;,

24傻重建集&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /连接/ node_modules /适量&#39;,

24傻重建集&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /连接/ node_modules /强大&#39;,

24傻重建集&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules / cookie的签名&#39;,

24傻重建集&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /缓冲CRC32&#39;,

24傻重建集&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /饼干&#39;,

24傻重建集&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /发送&#39;,

24傻重建集&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /表达/ node_modules /发送/ node_modules / MIME&#39;,

24傻重建集&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /新鲜&#39;,

24傻重建集&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /范围解析器&#39;,

24傻重建集&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /表达/ node_modules /连接/ node_modules /字节&#39;,

24傻重建集&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /连接/ node_modules /暂停&#39;,

24傻重建集&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /表达/ node_modules /连接/ node_modules / UID2&#39;,

24傻重建集&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /方法&#39;,

24傻重建集&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /指挥官&#39;,

24傻重建集&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules /指挥官/ node_modules /按键&#39;,

24傻重建集&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/ node_modules / mkdirp&#39; ]

25 info build / tmp / build_b374fb54-2391-435c-b6f7-1abb04409286 / node_modules / express

26 info preinstall express@3.3.7

27详细的linkStuff [false,

27 verbose linkStuff false,

27 verbose linkStuff false,

27详细的linkStuff&#39; / tmp / build_b374fb54-2391-435c-b6f7-1abb04409286 / node_modules&#39; ]

28 info linkStuff express@3.3.7

29 pbb linkbins express@3.3.7

30个详细链接箱[{express:&#39; ./ bin / express&#39; },

30个详细链接箱&#39; /tmp/build_b374fb54-2391-435c-b6f7-1abb04409286/node_modules/.bin' ;,

30个详细链接箱错误]

31详细linkMans express@3.3.7

32 verbose rebuildBundles express@3.3.7

33 verbose rebuildBundles [&#39; buffer-crc32&#39;,

33 verbose rebuildBundles&#39;指挥官&#39;,

33 verbose rebuildBundles&#39; connect&#39;,

33 verbose rebuildBundles&#39; cookie&#39;,

33 verbose rebuildBundles&#39; cookie-signature&#39;,

33 verbose rebuildBundles&#39; fresh&#39;,

33 verbose rebuildBundles&#39;方法&#39;,

33 verbose rebuildBundles&#39; mkdirp&#39;,

33 verbose rebuildBundles&#39; range-parser&#39;,

33 verbose rebuildBundles&#39; send&#39; ]

34错误错误:ENOENT,chmod&#39; / tmp / build_b374fb54-2391-435c-b6f7- 1abb04409286 / node_modules /快递/斌/表达&#39;

35错误如果您需要帮助,可以在以下位置报告此日志:

35错误http://github.com/isaacs/npm/issues

35错误或通过电子邮件发送至:

35错误

36错误系统Linux 3.8.11-ec2

37错误命令&#34; / tmp / node-node-MGdc / bin / node&#34; &#34; /tmp/node-npm-Jn8d/cli.js" &#34;重建&#34;

38错误cwd / tmp / build_b374fb54-2391-435c-b6f7-1abb04409286

39错误节点-v v0.10.21

40错误npm -v 1.3.11

41错误路径/ tmp / build_b374fb54-2391-435c-b6f7-1abb04409286 / node_modules / express / bin / express

42错误代码ENOENT

43错误错误34

44详细退出[34,true]

!推送被拒绝,无法编译Node.js应用程序

至git@heroku.com:floating-thicket-9559.git

! [远程拒绝]主人 - &gt;主人(预先接收挂钩拒绝)

错误:无法将某些参考文献推送到&#39; git@heroku.com:floating-thicket-9559.git&#39;

0 个答案:

没有答案