Skip to content

Instantly share code, notes, and snippets.

@doapp-ryanp
Created May 9, 2012 19:01
Show Gist options
  • Save doapp-ryanp/2648023 to your computer and use it in GitHub Desktop.
Save doapp-ryanp/2648023 to your computer and use it in GitHub Desktop.
:~/hubot# cat package.json
{
"name": "hosted-hubot",
"version": "2.1.4",
"author": "GitHub Inc.",
"keywords": "github hubot campfire bot",
"description": "A simple helpful Robot for your Company",
"licenses": [{
"type": "MIT",
"url": "http://github.com/github/hubot/raw/master/LICENSE"
}],
"repository" : {
"type" : "git",
"url" : "http://github.com/github/hubot.git"
},
"dependencies": {
"hubot-hipchat": ">= 1.0.4",
"hubot": "2.1.4",
"hubot-scripts": ">=2.0.4",
"optparse": "1.0.3"
}
}
:~/hubot# npm install
npm http GET https://registry.npmjs.org/hubot-hipchat
npm http 304 https://registry.npmjs.org/hubot-hipchat
npm http GET https://registry.npmjs.org/wobot/0.6.0
npm http 304 https://registry.npmjs.org/wobot/0.6.0
npm http GET https://registry.npmjs.org/node-xmpp
npm http GET https://registry.npmjs.org/underscore
npm http 304 https://registry.npmjs.org/node-xmpp
npm http 304 https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/node-expat
npm http GET https://registry.npmjs.org/ltx
npm http 304 https://registry.npmjs.org/node-expat
npm http 304 https://registry.npmjs.org/ltx
> node-expat@1.5.0 install /root/hubot/node_modules/hubot-hipchat/node_modules/wobot/node_modules/node-xmpp/node_modules/node-expat
> node-waf configure build
npm http GET https://registry.npmjs.org/sax
Traceback (most recent call last):
File "/usr/bin/node-waf", line 16, in <module>
Scripting.prepare(t, os.getcwd(), VERSION, wafdir)
File "/usr/share/nodejs/wafadmin/Scripting.py", line 145, in prepare
prepare_impl(t, cwd, ver, wafdir)
File "/usr/share/nodejs/wafadmin/Scripting.py", line 35, in prepare_impl
lst = os.listdir(cwd)
OSError: [Errno 13] Permission denied: '/root/hubot/node_modules/hubot-hipchat/node_modules/wobot/node_modules/node-xmpp/node_modules/node-expat'
npm http 304 https://registry.npmjs.org/sax
npm ERR! error rolling back node-xmpp@0.3.2 Error: ENOTEMPTY, rmdir '/root/hubot/node_modules/hubot-hipchat/node_modules/wobot/node_modules/node-xmpp/node_modules/ltx/node_modules/sax'
npm ERR! EEXIST, mkdir '/root/hubot/node_modules/hubot-hipchat/node_modules/wobot/node_modules/node-xmpp/node_modules/ltx/node_modules/sax/examples'
npm ERR! File exists: /root/hubot/node_modules/hubot-hipchat/node_modules/wobot/node_modules/node-xmpp/node_modules/ltx/node_modules/sax/examples
npm ERR! Move it away, and try again.
npm ERR!
npm ERR! System Linux 3.2.0-24-virtual
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /root/hubot
npm ERR! node -v v0.6.17
npm ERR! npm -v 1.1.21
npm ERR! path /root/hubot/node_modules/hubot-hipchat/node_modules/wobot/node_modules/node-xmpp/node_modules/ltx/node_modules/sax/examples
npm ERR! fstream_path /root/hubot/node_modules/hubot-hipchat/node_modules/wobot/node_modules/node-xmpp/node_modules/ltx/node_modules/sax/examples/get-products.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code EEXIST
npm ERR! message EEXIST, mkdir '/root/hubot/node_modules/hubot-hipchat/node_modules/wobot/node_modules/node-xmpp/node_modules/ltx/node_modules/sax/examples'
npm ERR! errno {}
npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:171:23
npm ERR! fstream_stack Object.oncomplete (/usr/lib/node_modules/npm/node_modules/mkdirp/index.js:36:53)
npm ERR! node-expat@1.5.0 install: `node-waf configure build`
npm ERR! `sh "-c" "node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the node-expat@1.5.0 install script.
npm ERR! This is most likely a problem with the node-expat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls node-expat
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 3.2.0-24-virtual
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /root/hubot
npm ERR! node -v v0.6.17
npm ERR! npm -v 1.1.21
npm ERR! code ELIFECYCLE
npm ERR! message node-expat@1.5.0 install: `node-waf configure build`
npm ERR! message `sh "-c" "node-waf configure build"` failed with 1
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/hubot/npm-debug.log
npm not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment