einaros/ws — Issue #14: No such file or directory: '/Users/einaros/code/ws/build'
Author: absynce
Created: 2012-01-26 06:19:01+00:00
State: open

I'm not sure how to configure to the correct directory.

Here is the error output:

npm http GET https://registry.npmjs.org/ws
npm http 304 https://registry.npmjs.org/ws
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 /usr/local
'configure' finished successfully (0.040s)
Waf: Entering directory `/Users/einaros/code/ws/build'
Waf: Leaving directory `/Users/einaros/code/ws/build'
Traceback (most recent call last):
File "/usr/local/bin/node-waf", line 16, in
Scripting.prepare(t, os.getcwd(), VERSION, wafdir)
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 145, in prepare
prepare_impl(t, cwd, ver, wafdir)
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 135, in prepare_impl
main()
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 188, in main
fun(ctx)
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 386, in build
return build_impl(bld)
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 405, in build_impl
bld.compile()
File "/usr/local/bin/../lib/node/wafadmin/Build.py", line 268, in compile
os.chdir(self.bldnode.abspath())
OSError: [Errno 2] No such file or directory: '/Users/einaros/code/ws/build'
make: *** [all] Error 1
npm ERR! error installing ws@0.4.1

npm ERR! ws@0.4.1 preinstall: `make`
npm ERR! `sh "-c" "make"` failed with 2
npm ERR!
npm ERR! Failed at the ws@0.4.1 preinstall script.
npm ERR! This is most likely a problem with the ws package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! make
npm ERR! You can get their info via:
npm ERR! npm owner ls ws
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 3.0.0-12-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "ws"
npm ERR! cwd /home/absynce/dev/zombietest
npm ERR! node -v v0.6.6
npm ERR! npm -v 1.1.0-2
npm ERR! code ELIFECYCLE
npm ERR! message ws@0.4.1 preinstall: `make`
npm ERR! message `sh "-c" "make"` failed with 2
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/absynce/dev/zombietest/npm-debug.log
npm not ok