Advertisement
nordlaender

trying to deploy nodejs to heroku

Aug 14th, 2012
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.18 KB | None | 0 0
  1. git push heroku master
  2. Counting objects: 1018, done.
  3. Delta compression using up to 2 threads.
  4. Compressing objects: 100% (894/894), done.
  5. Writing objects: 100% (1018/1018), 4.03 MiB | 64 KiB/s, done.
  6. Total 1018 (delta 75), reused 0 (delta 0)
  7.  
  8. -----> Heroku receiving push
  9. -----> Node.js app detected
  10. -----> Resolving engine versions
  11.        Using Node.js version: 0.6.20
  12.        Using npm version: 1.0.106
  13. -----> Fetching Node.js binaries
  14. -----> Vendoring node into slug
  15. -----> Installing dependencies with npm
  16.        
  17.        
  18.        > ws@0.4.21 install /tmp/build_ngyi26sy7e54/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
  19.        > node install.js
  20.        
  21.        [ws v0.4.21] Attempting to compile blazing fast native extensions.
  22.        [ws v0.4.21] Native code compile failed (but the module will still work):
  23.        [ws v0.4.21] The native extensions are faster, but not required.
  24.        [ws v0.4.21] On Windows, native extensions require Visual Studio and Python.
  25.        [ws v0.4.21] On Unix, native extensions require Python, make and a C++ compiler.
  26.        [ws v0.4.21] Start npm with --ws:verbose to show compilation output (if any).
  27.        
  28.        > hiredis@0.1.14 preinstall /tmp/build_ngyi26sy7e54/node_modules/socket.io/node_modules/redis/node_modules/hiredis
  29.        > make || gmake
  30.        
  31.        cd deps/hiredis && make static
  32.        make[1]: Entering directory `/tmp/build_ngyi26sy7e54/node_modules/socket.io/node_modules/redis/node_modules/hiredis/deps/hiredis'
  33.       make[1]: Nothing to be done for `static'.
  34.        make[1]: Leaving directory `/tmp/build_ngyi26sy7e54/node_modules/socket.io/node_modules/redis/node_modules/hiredis/deps/hiredis'
  35.       node-waf configure build
  36.       Setting srcdir to                        : /tmp/build_ngyi26sy7e54/node_modules/socket.io/node_modules/redis/node_modules/hiredis
  37.       Setting blddir to                        : /tmp/build_ngyi26sy7e54/node_modules/socket.io/node_modules/redis/node_modules/hiredis/build
  38.       Checking for program g++ or c++          : /usr/bin/g++
  39.       Checking for program cpp                 : /usr/bin/cpp
  40.       Checking for program ar                  : /usr/bin/ar
  41.       Checking for program ranlib              : /usr/bin/ranlib
  42.       Checking for g++                         : ok  
  43.       Checking for node path                   : not found
  44.       Checking for node prefix                 : ok /tmp/node-node-Wyfk
  45.       'configure' finished successfully (0.029s)
  46.       Waf: Entering directory `/home/lhk/Desktop/zwillenhomepage/node_modules/socket.io/node_modules/redis/node_modules/hiredis/build'
  47.        Waf: Leaving directory `/home/lhk/Desktop/zwillenhomepage/node_modules/socket.io/node_modules/redis/node_modules/hiredis/build'
  48.       Traceback (most recent call last):
  49.         File "/tmp/node-node-Wyfk/bin/node-waf", line 16, in <module>
  50.           Scripting.prepare(t, os.getcwd(), VERSION, wafdir)
  51.         File "/tmp/node-node-Wyfk/bin/../lib/node/wafadmin/Scripting.py", line 145, in prepare
  52.           prepare_impl(t, cwd, ver, wafdir)
  53.         File "/tmp/node-node-Wyfk/bin/../lib/node/wafadmin/Scripting.py", line 135, in prepare_impl
  54.           main()
  55.         File "/tmp/node-node-Wyfk/bin/../lib/node/wafadmin/Scripting.py", line 188, in main
  56.           fun(ctx)
  57.         File "/tmp/node-node-Wyfk/bin/../lib/node/wafadmin/Scripting.py", line 386, in build
  58.           return build_impl(bld)
  59.         File "/tmp/node-node-Wyfk/bin/../lib/node/wafadmin/Scripting.py", line 405, in build_impl
  60.           bld.compile()
  61.         File "/tmp/node-node-Wyfk/bin/../lib/node/wafadmin/Build.py", line 268, in compile
  62.           os.chdir(self.bldnode.abspath())
  63.       OSError: [Errno 2] No such file or directory: '/home/lhk/Desktop/zwillenhomepage/node_modules/socket.io/node_modules/redis/node_modules/hiredis/build'
  64.       make: *** [all] Error 1
  65.       sh: gmake: not found
  66.       npm ERR! [email protected] preinstall: `make || gmake`
  67.       npm ERR! `sh "-c" "make || gmake"` failed with 127
  68.       npm ERR!
  69.       npm ERR! Failed at the [email protected] preinstall script.
  70.       npm ERR! This is most likely a problem with the hiredis package,
  71.       npm ERR! not with npm itself.
  72.       npm ERR! Tell the author that this fails on your system:
  73.       npm ERR!     make || gmake
  74.       npm ERR! You can get their info via:
  75.       npm ERR!     npm owner ls hiredis
  76.       npm ERR! There is likely additional logging output above.
  77.       npm ERR!
  78.       npm ERR! System Linux 2.6.32-343-ec2
  79.       npm ERR! command "/tmp/node-node-Wyfk/bin/node" "/tmp/node-npm-Rq2Y/cli.js" "rebuild"
  80.       npm ERR! cwd /tmp/build_ngyi26sy7e54
  81.       npm ERR! node -v v0.6.20
  82.       npm ERR! npm -v 1.0.106
  83.       npm ERR! code ELIFECYCLE
  84.       npm ERR!
  85.       npm ERR! Additional logging details can be found in:
  86.       npm ERR!     /tmp/build_ngyi26sy7e54/npm-debug.log
  87.       npm not ok
  88. !     Failed to rebuild dependencies with npm
  89. !     Heroku push rejected, failed to compile Node.js app
  90.  
  91. To [email protected]:morning-plateau-9747.git
  92. ! [remote rejected] master -> master (pre-receive hook declined)
  93. error: failed to push some refs to 'git@heroku.com:morning-plateau-9747.git'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement