hubot-logger
hubot-logger copied to clipboard
Unable to install via github tarball
I think it is because of the absence of a package.json:
npm http GET https://github.com/jenrzzz/hubot-logger/tarball/master/hubot-logger@
npm http 200 https://github.com/jenrzzz/hubot-logger/tarball/master/hubot-logger@
npm ERR! Error: ENOENT, open '/home/badosu/tmp/npm-11200/1374711263717-0.6852639748249203/package/package.json'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR! System Linux 3.8.0-26-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! cwd /home/badosu/Space/Palpiteros-Hubot
npm ERR! node -v v0.10.13
npm ERR! npm -v 1.3.2
npm ERR! path /home/badosu/tmp/npm-11200/1374711263717-0.6852639748249203/package/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/badosu/Space/Palpiteros-Hubot/npm-debug.log
npm ERR! not ok code 0
I'm a lazy bastard so I never got around to making this into an npm package. I'll probably do that this weekend. In the meantime, you can add the script's dependencies in your hubot's package.json and drop the script into your hubot's scripts/ directory. Or, if you're feeling ambitious, I'd gladly take a pull request for that :)
Take it easy dude! If you have any name for it (i guess hubot-logger is taken), I can go for it.
For what it's worth, @sonata82 has a package.json (in a branch). I haven't been able to find a pull request for it. However, the hubot-logger namespace is already taken. Perhaps hubot-logs?
Or maybe hubot-script-logger?