Flotype/now — Issue #158: Install errors and I am new at this
Author: successcoach
Created: 2011-11-30 11:55:00+00:00
State: open

npm install now -g
npm WARN node-proxy@0.5.2 package.json: bugs['web'] should probably be bugs['url']

> node-proxy@0.5.2 install /usr/local/lib/node_modules/now/node_modules/node-proxy
> make

BUILDING: C++ Component
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.046s)
Waf: Entering directory `/usr/local/lib/node_modules/now/node_modules/node-proxy/src/build'
[1/2] cxx: node-proxy.cc -> build/Release/node-proxy_1.o
[2/2] cxx_link: build/Release/node-proxy_1.o -> build/Release/node-proxy.node
npm ERR! Failed unpacking /tmp/npm-1322648053217/1322648053217-0.7195738274604082/tmp.tgz
npm ERR! couldn't unpack /tmp/npm-1322648053217/1322648053217-0.7195738274604082/tmp.tgz to /tmp/npm-1322648053217/1322648053217-0.7195738274604082/contents
npm ERR! error installing socket.io-client@0.8.7 Error: `tar "-zmvxpf" "/tmp/npm-1322648053217/1322648053217-0.7195738274604082/tmp.tgz" "-o"`
npm ERR! error installing socket.io-client@0.8.7 failed with 2
npm ERR! error installing socket.io-client@0.8.7 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/tar.js:217:20)
npm ERR! error installing socket.io-client@0.8.7 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing socket.io-client@0.8.7 at maybeExit (child_process.js:359:16)
npm ERR! error installing socket.io-client@0.8.7 at Process.onexit (child_process.js:395:5)
npm ERR! error installing socket.io@0.8.7 Error: `tar "-zmvxpf" "/tmp/npm-1322648053217/1322648053217-0.7195738274604082/tmp.tgz" "-o"`
npm ERR! error installing socket.io@0.8.7 failed with 2
npm ERR! error installing socket.io@0.8.7 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/tar.js:217:20)
npm ERR! error installing socket.io@0.8.7 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing socket.io@0.8.7 at maybeExit (child_process.js:359:16)
npm ERR! error installing socket.io@0.8.7 at Process.onexit (child_process.js:395:5)
npm ERR! error installing now@0.7.6 Error: `tar "-zmvxpf" "/tmp/npm-1322648053217/1322648053217-0.7195738274604082/tmp.tgz" "-o"`
npm ERR! error installing now@0.7.6 failed with 2
npm ERR! error installing now@0.7.6 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/tar.js:217:20)
npm ERR! error installing now@0.7.6 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing now@0.7.6 at maybeExit (child_process.js:359:16)
npm ERR! error installing now@0.7.6 at Process.onexit (child_process.js:395:5)
npm ERR! Error: `tar "-zmvxpf" "/tmp/npm-1322648053217/1322648053217-0.7195738274604082/tmp.tgz" "-o"`
npm ERR! failed with 2
npm ERR! at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/tar.js:217:20)
npm ERR! at ChildProcess.emit (events.js:70:17)
npm ERR! at maybeExit (child_process.js:359:16)
npm ERR! at Process.onexit (child_process.js:395:5)
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 2.6.18-194.32.1.el5
npm ERR! command "node" "/usr/local/bin/npm" "install" "now" "-g"
npm ERR! cwd /var/www/vhosts/mymaptowellness.com/httpdocs
npm ERR! node -v v0.6.1
npm ERR! npm -v 1.0.106
collect2: ld returned 1 exit status
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 408, in build_impl
info("Waf: Leaving directory `%s'" % bld.bldnode.abspath())
File "/usr/local/bin/../lib/node/wafadmin/Node.py", line 420, in abspath
ret = self.__class__.bld.cache_node_abspath[variant].get(self.id, None)
AttributeError: 'NoneType' object has no attribute 'cache_node_abspath'
/bin/sh: line 0: cd: ..: No such file or directory
make: *** [all] Error 1
npm ERR! error installing node-proxy@0.5.2 Error: node-proxy@0.5.2 install: `make`
npm ERR! error installing node-proxy@0.5.2 `sh "-c" "make"` failed with 2
npm ERR! error installing node-proxy@0.5.2 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing node-proxy@0.5.2 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing node-proxy@0.5.2 at maybeExit (child_process.js:359:16)
npm ERR! error installing node-proxy@0.5.2 at Process.onexit (child_process.js:395:5)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /var/www/vhosts/mymaptowellness.com/httpdocs/npm-debug.log
npm not ok