mirror of
https://github.com/NarrativeScience-old/log.io.git
synced 2026-04-25 17:15:52 +03:00
[GH-ISSUE #119] Installation failure on Mac OS.X #94
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#94
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 @wehtta on GitHub (Jul 16, 2014).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/119
I created /var/root/.log.io/harvester.conf before installing, but error occured. It suggests error when open '/var/root/.log.io/log_server.conf'
It is unreasonable to create conf files before installing.
error message as follows:
Creating ~/.log.io/ for configuration files.
If this fails, run npm using a specific user: npm install -g log.io --user 'ubuntu'
events.js:72
throw er; // Unhandled 'error' event
^
Error: EACCES, open '/var/root/.log.io/log_server.conf'
npm ERR! log.io@0.3.3 postinstall:
cake ensure:configurationnpm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the log.io@0.3.3 postinstall script.
npm ERR! This is most likely a problem with the log.io package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cake ensure:configuration
npm ERR! You can get their info via:
npm ERR! npm owner ls log.io
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 13.1.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "log.io" "--user" "matthewyu"
npm ERR! cwd /Users/matthewyu/dev/act-proj/proj
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/matthewyu/dev/act-proj/proj/npm-debug.log
npm ERR! not ok code 0
------anybody encountered with the same problem?
@needforspeed commented on GitHub (Jul 16, 2014):
try touch the 3 configuration files, and then install
@wehtta commented on GitHub (Jul 24, 2014):
it seems npm can not both write to /usr/local/lib/node-modules and ~./ , so i changed the owner the globally installed node modules directory to current user, and successfully installed.
@msmathers commented on GitHub (Aug 1, 2014):
If you're attempting to do a global install, it's best to install as root instead of a custom user. It can also be installed and run entirely in your user space:
@xbsd commented on GitHub (Sep 3, 2015):
Make sure you are in node_modules as the pwd owner. Some log in case it helps ---