mirror of
https://github.com/NarrativeScience-old/log.io.git
synced 2026-04-25 17:15:52 +03:00
[GH-ISSUE #63] Problem installing log.io on ubuntu 12.04 #47
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/log.io-NarrativeScience-old#47
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jamengual on GitHub (Apr 3, 2013).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/63
Hi.
I just tried to install log io for the first time and I get this :
npm ERR! error installing jsdom@0.2.19
npm ERR! error rolling back jsdom@0.2.19 Error: UNKNOWN, unknown error '/usr/local/lib/node_modules/log.io/node_modules/jquery/node_modules/jsdom'
npm ERR! error installing jquery@1.8.3
npm ERR! Error: ENOENT, no such file or directory '/usr/local/lib/node_modules/log.io/node_modules/jquery/node_modules/jsdom/node_modules/___cssom.npm/package/.gitmodules'
npm ERR! You may report this log at:
npm ERR! http://bugs.debian.org/npm
npm ERR! or use
npm ERR! reportbug --attach /home/jamengual/npm-debug.log npm
npm ERR!
npm ERR! System Linux 3.7.10-linode49
npm ERR! command "node" "/usr/bin/npm" "install" "-g" "log.io"
npm ERR! cwd /home/jamengual
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.1.4
npm ERR! path /usr/local/lib/node_modules/log.io/node_modules/jquery/node_modules/jsdom/node_modules/___cssom.npm/package/.gitmodules
npm ERR! fstream_path /usr/local/lib/node_modules/log.io/node_modules/jquery/node_modules/jsdom/node_modules/___cssom.npm/package/.gitmodules
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call chmod
npm ERR! code ENOENT
npm ERR! message ENOENT, no such file or directory '/usr/local/lib/node_modules/log.io/node_modules/jquery/node_modules/jsdom/node_modules/___cssom.npm/package/.gitmodules'
npm ERR! errno {}
npm ERR! fstream_stack Object.oncomplete (/usr/lib/nodejs/fstream/lib/writer.js:285:17)
npm ERR! Error: ENOENT, no such file or directory '/usr/local/lib/node_modules/log.io/node_modules/jquery/node_modules/jsdom/node_modules/___cssstyle.npm/package/README.md'
npm ERR! You may report this log at:
npm ERR! http://bugs.debian.org/npm
npm ERR! or use
npm ERR! reportbug --attach /home/jamengual/npm-debug.log npm
npm ERR!
npm ERR! System Linux 3.7.10-linode49
npm ERR! command "node" "/usr/bin/npm" "install" "-g" "log.io"
npm ERR! cwd /home/jamengual
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.1.4
npm ERR! path /usr/local/lib/node_modules/log.io/node_modules/jquery/node_modules/jsdom/node_modules/___cssstyle.npm/package/README.md
npm ERR! fstream_path /usr/local/lib/node_modules/log.io/node_modules/jquery/node_modules/jsdom/node_modules/___cssstyle.npm/package/README.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! message ENOENT, no such file or directory '/usr/local/lib/node_modules/log.io/node_modules/jquery/node_modules/jsdom/node_modules/___cssstyle.npm/package/README.md'
npm ERR! errno {}
npm ERR! fstream_stack Object.oncomplete (/usr/lib/nodejs/fstream/lib/writer.js:204:26)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/jamengual/npm-debug.log
npm not ok
It says to report that as a bug to ubuntu but not sure is is related to log.io only.
Thanks.
@jamengual commented on GitHub (Apr 3, 2013):
Update.
Solved running :
sudo apt-get install python-software-properties python g++ make
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
and then :
sudo npm install -g log.io --user 'ubuntu'
without sudo I couldn't install it otherwise I will get this error :
[Error: EACCES, mkdir '/usr/lib/node_modules/log.io
Npm and node.js packages from ubuntu repo too old.
PS : https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager