[GH-ISSUE #72] Install Server & Harvester #57

Closed
opened 2026-02-26 05:31:11 +03:00 by kerem · 3 comments
Owner

Originally created by @ZekMan on GitHub (May 19, 2013).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/72

im run:
npm install -g log.io
and im get errors:
npm http GET https://registry.npmjs.org/log.io
npm http 304 https://registry.npmjs.org/log.io
npm WARN package.json log.io@0.3.3 No repository field.
npm ERR! Error: EACCES, mkdir '/usr/local/lib/node_modules'
npm ERR! { [Error: EACCES, mkdir '/usr/local/lib/node_modules']
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: '/usr/local/lib/node_modules',
npm ERR! fstream_type: 'Directory',
npm ERR! fstream_path: '/usr/local/lib/node_modules/log.io',
npm ERR! fstream_class: 'DirWriter',
npm ERR! fstream_stack:
npm ERR! [ '/usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:171:23',
npm ERR! '/usr/lib/node_modules/npm/node_modules/mkdirp/index.js:37:53',
npm ERR! 'Object.oncomplete (fs.js:107:15)' ] }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Linux 3.2.0-39-generic-pae
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "-g" "--prefix=/usr/local" "log.io"
npm ERR! cwd /home/zekman
npm ERR! node -v v0.10.7
npm ERR! npm -v 1.2.21
npm ERR! path /usr/local/lib/node_modules
npm ERR! fstream_path /usr/local/lib/node_modules/log.io
npm ERR! fstream_type Directory
npm ERR! fstream_class DirWriter
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, mkdir '/usr/local/lib/node_modules'
npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:171:23
npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/mkdirp/index.js:37:53
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/zekman/npm-debug.log
npm ERR! not ok code 0

Originally created by @ZekMan on GitHub (May 19, 2013). Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/72 im run: npm install -g log.io and im get errors: npm http GET https://registry.npmjs.org/log.io npm http 304 https://registry.npmjs.org/log.io npm WARN package.json log.io@0.3.3 No repository field. npm ERR! Error: EACCES, mkdir '/usr/local/lib/node_modules' npm ERR! { [Error: EACCES, mkdir '/usr/local/lib/node_modules'] npm ERR! errno: 3, npm ERR! code: 'EACCES', npm ERR! path: '/usr/local/lib/node_modules', npm ERR! fstream_type: 'Directory', npm ERR! fstream_path: '/usr/local/lib/node_modules/log.io', npm ERR! fstream_class: 'DirWriter', npm ERR! fstream_stack: npm ERR! [ '/usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:171:23', npm ERR! '/usr/lib/node_modules/npm/node_modules/mkdirp/index.js:37:53', npm ERR! 'Object.oncomplete (fs.js:107:15)' ] } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! System Linux 3.2.0-39-generic-pae npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "-g" "--prefix=/usr/local" "log.io" npm ERR! cwd /home/zekman npm ERR! node -v v0.10.7 npm ERR! npm -v 1.2.21 npm ERR! path /usr/local/lib/node_modules npm ERR! fstream_path /usr/local/lib/node_modules/log.io npm ERR! fstream_type Directory npm ERR! fstream_class DirWriter npm ERR! code EACCES npm ERR! errno 3 npm ERR! stack Error: EACCES, mkdir '/usr/local/lib/node_modules' npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:171:23 npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/mkdirp/index.js:37:53 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/zekman/npm-debug.log npm ERR! not ok code 0
kerem closed this issue 2026-02-26 05:31:11 +03:00
Author
Owner

@gu3st commented on GitHub (May 20, 2013):

Youu need to install log.io as administrator. Try running as root, or with sudo

<!-- gh-comment-id:18128588 --> @gu3st commented on GitHub (May 20, 2013): Youu need to install log.io as administrator. Try running as root, or with sudo
Author
Owner

@ZekMan commented on GitHub (May 22, 2013):

I did it and get this errors

<!-- gh-comment-id:18311473 --> @ZekMan commented on GitHub (May 22, 2013): I did it and get this errors
Author
Owner

@gu3st commented on GitHub (May 22, 2013):

So, to confirm, you're executing in your shell "sudo npm install -g log.io" ?

<!-- gh-comment-id:18311871 --> @gu3st commented on GitHub (May 22, 2013): So, to confirm, you're executing in your shell "sudo npm install -g log.io" ?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/log.io-NarrativeScience-old#57
No description provided.