Skip to content

Instantly share code, notes, and snippets.

@hadrienl
Created October 28, 2011 18:50
Show Gist options
  • Save hadrienl/1323061 to your computer and use it in GitHub Desktop.
Save hadrienl/1323061 to your computer and use it in GitHub Desktop.
$ sudo npm -g install .
npm WARN yuidocjs@0.2.0 package.json: bugs['web'] should probably be bugs['url']
npm WARN yui3-core@3.4.0 package.json: bugs['web'] should probably be bugs['url']
npm WARN yui3@0.7.8 package.json: bugs['web'] should probably be bugs['url']
npm WARN htmlparser@1.7.3 package.json: bugs['web'] should probably be bugs['url']
npm WARN jsdom@0.2.7 package.json: bugs['web'] should probably be bugs['url']
npm WARN request@2.1.1 package.json: bugs['web'] should probably be bugs['url']
> contextify@0.0.6 preinstall /usr/local/lib/node_modules/yuidocjs/node_modules/yui3/node_modules/jsdom/node_modules/contextify
> node-waf clean || true; node-waf configure build
Nothing to clean (project not configured)
Setting srcdir to : /usr/local/lib/node_modules/yuidocjs/node_modules/yui3/node_modules/jsdom/node_modules/contextify
Setting blddir to : /usr/local/lib/node_modules/yuidocjs/node_modules/yui3/node_modules/jsdom/node_modules/contextify/build
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.032s)
Waf: Entering directory `/usr/local/lib/node_modules/yuidocjs/node_modules/yui3/node_modules/jsdom/node_modules/contextify/build'
no such environment: default
Traceback (most recent call last):
File "/usr/local/bin/node-waf", line 16, in <module>
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 399, in build_impl
bld.add_subdirs([os.path.split(Utils.g_module.root_path)[0]])
File "/usr/local/bin/../lib/node/wafadmin/Build.py", line 981, in add_subdirs
self.recurse(dirs, 'build')
File "/usr/local/bin/../lib/node/wafadmin/Utils.py", line 634, in recurse
f(self)
File "/usr/local/lib/node_modules/yuidocjs/node_modules/yui3/node_modules/jsdom/node_modules/contextify/wscript", line 16, in build
obj = bld.new_task_gen("cxx", "shlib", "node_addon")
File "/usr/local/bin/../lib/node/wafadmin/Build.py", line 335, in new_task_gen
ret = cls(*k, **kw)
File "/usr/local/bin/../lib/node/wafadmin/Tools/ccroot.py", line 162, in __init__
TaskGen.task_gen.__init__(self, *k, **kw)
File "/usr/local/bin/../lib/node/wafadmin/TaskGen.py", line 118, in __init__
self.env = self.bld.env.copy()
AttributeError: 'NoneType' object has no attribute 'copy'
npm ERR! error installing contextify@0.0.6 Error: contextify@0.0.6 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! error installing contextify@0.0.6 `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR! error installing contextify@0.0.6 at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing contextify@0.0.6 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing contextify@0.0.6 at ChildProcess.onexit (child_process.js:192:12)
npm ERR! error installing jsdom@0.2.7 Error: contextify@0.0.6 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! error installing jsdom@0.2.7 `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR! error installing jsdom@0.2.7 at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing jsdom@0.2.7 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing jsdom@0.2.7 at ChildProcess.onexit (child_process.js:192:12)
npm ERR! error installing yui3@0.7.8 Error: contextify@0.0.6 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! error installing yui3@0.7.8 `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR! error installing yui3@0.7.8 at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing yui3@0.7.8 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing yui3@0.7.8 at ChildProcess.onexit (child_process.js:192:12)
npm ERR! error installing yuidocjs@0.2.0 Error: contextify@0.0.6 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! error installing yuidocjs@0.2.0 `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR! error installing yuidocjs@0.2.0 at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing yuidocjs@0.2.0 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing yuidocjs@0.2.0 at ChildProcess.onexit (child_process.js:192:12)
npm ERR! contextify@0.0.6 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the contextify@0.0.6 preinstall script.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf clean || true; node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls contextify
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 3.0.0-12-server
npm ERR! command "node" "/usr/local/bin/npm" "-g" "install" "."
npm ERR! cwd /home/overblog/yuidocjs
npm ERR! node -v v0.4.12
npm ERR! npm -v 1.0.103
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/overblog/yuidocjs/npm-debug.log
npm not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment