nvm and daemon.node
pbylina opened this issue · 2 comments
[ext6trac@ace1 bin]$ nvm ls
N/A
current:
[ext6trac@ace1 bin]$ nvm install 0.8.16
################################################################## 100,0%
Now using node v0.8.16
[ext6trac@ace1 bin]$ nvm ls
v0.8.16
current: v0.8.16
[ext6trac@ace1 bin]$ npm install daemon
npm http GET https://registry.npmjs.org/daemon
npm http 304 https://registry.npmjs.org/daemon
daemon@0.5.1 preinstall /home/ext6trac/.nvm/bin/node_modules/daemon
bash ./install
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /home/ext6trac/.nvm/v0.8.16
'configure' finished successfully (0.034s)
Waf: Entering directory /home/ext6trac/.nvm/bin/node_modules/daemon/build' [1/2] cxx: src/daemon.cc -> build/Release/src/daemon_1.o [2/2] cxx_link: build/Release/src/daemon_1.o -> build/Release/daemon.node Waf: Leaving directory
/home/ext6trac/.nvm/bin/node_modules/daemon/build'
Build failed: -> task failed (err #-1):
{task: cxx_link daemon_1.o -> daemon.node}
daemon@0.5.1 node_modules/daemon
[ext6trac@ace1 bin]$
This library is deprecated. Use detached child processes instead: http://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options
Thanks!