[GH-ISSUE #101] Error on Install #80

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

Originally created by @kenetik on GitHub (Nov 22, 2013).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/101

npm ERR! log.io@0.3.3 postinstall: cake ensure:configuration
npm 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 Linux 3.8.0-19-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "-g" "log.io"
npm ERR! cwd /root
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/npm-debug.log
npm ERR! not ok code 0

Originally created by @kenetik on GitHub (Nov 22, 2013). Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/101 npm ERR! log.io@0.3.3 postinstall: `cake ensure:configuration` npm 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 Linux 3.8.0-19-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "-g" "log.io" npm ERR! cwd /root npm ERR! node -v v0.10.22 npm ERR! npm -v 1.3.14 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /root/npm-debug.log npm ERR! not ok code 0
kerem closed this issue 2026-02-26 05:31:16 +03:00
Author
Owner

@richiesgr commented on GitHub (Nov 27, 2013):

Same problem here
/usr/local/bin/log.io-server -> /usr/local/lib/node_modules/log.io/bin/log.io-server
/usr/local/bin/log.io-harvester -> /usr/local/lib/node_modules/log.io/bin/log.io-harvester

log.io@0.3.3 postinstall /usr/local/lib/node_modules/log.io
cake ensure:configuration

/usr/bin/env: node: No such file or directory
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! log.io@0.3.3 postinstall: cake ensure:configuration
npm ERR! sh "-c" "cake ensure:configuration" failed with 127
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 Linux 3.11.0-12-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "log.io"
npm ERR! cwd /opt/apache-tomcat-7.0.47/webapps
npm ERR! node -v v0.10.15
npm ERR! npm -v 1.2.18
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /opt/apache-tomcat-7.0.47/webapps/npm-debug.log
npm ERR! not ok code 0

On ubuntu 13.04

<!-- gh-comment-id:29371310 --> @richiesgr commented on GitHub (Nov 27, 2013): Same problem here /usr/local/bin/log.io-server -> /usr/local/lib/node_modules/log.io/bin/log.io-server /usr/local/bin/log.io-harvester -> /usr/local/lib/node_modules/log.io/bin/log.io-harvester > log.io@0.3.3 postinstall /usr/local/lib/node_modules/log.io > cake ensure:configuration /usr/bin/env: node: No such file or directory npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian npm ERR! log.io@0.3.3 postinstall: `cake ensure:configuration` npm ERR! `sh "-c" "cake ensure:configuration"` failed with 127 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 Linux 3.11.0-12-generic npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "log.io" npm ERR! cwd /opt/apache-tomcat-7.0.47/webapps npm ERR! node -v v0.10.15 npm ERR! npm -v 1.2.18 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /opt/apache-tomcat-7.0.47/webapps/npm-debug.log npm ERR! not ok code 0 On ubuntu 13.04
Author
Owner

@djhojd commented on GitHub (Jan 7, 2014):

same here, as above

<!-- gh-comment-id:31766473 --> @djhojd commented on GitHub (Jan 7, 2014): same here, as above
Author
Owner

@mikedfunk commented on GitHub (Jan 29, 2014):

same thing, ubuntu 13.04

<!-- gh-comment-id:33555031 --> @mikedfunk commented on GitHub (Jan 29, 2014): same thing, ubuntu 13.04
Author
Owner

@davegonzalez commented on GitHub (Feb 6, 2014):

I ran into a similar issue, but was able to fix it by running npm install -g log.io --user "ubuntu"

<!-- gh-comment-id:34282946 --> @davegonzalez commented on GitHub (Feb 6, 2014): I ran into a similar issue, but was able to fix it by running `npm install -g log.io --user "ubuntu"`
Author
Owner

@CJHarmath commented on GitHub (Feb 13, 2014):

same here. ubuntu 13.10

<!-- gh-comment-id:34949575 --> @CJHarmath commented on GitHub (Feb 13, 2014): same here. ubuntu 13.10
Author
Owner

@CJHarmath commented on GitHub (Feb 13, 2014):

this didn't help
npm install -g log.io --user "ubuntu"

<!-- gh-comment-id:34949626 --> @CJHarmath commented on GitHub (Feb 13, 2014): this didn't help npm install -g log.io --user "ubuntu"
Author
Owner

@msmathers commented on GitHub (Aug 1, 2014):

This looks like an issue with your machine's node.js installation, as log.io expects to find it using /usr/bin/env. Do which node to locate the absolute path of the node.js binary, and add that to your $PATH.

If you follow the wiki's build instructions for a fresh ubuntu machine, everything should work just fine:
https://github.com/NarrativeScience/Log.io/wiki/v0.3.4-Build-Recipe-(Ubuntu-14.04)

<!-- gh-comment-id:50853118 --> @msmathers commented on GitHub (Aug 1, 2014): This looks like an issue with your machine's node.js installation, as log.io expects to find it using `/usr/bin/env`. Do `which node` to locate the absolute path of the node.js binary, and add that to your `$PATH`. If you follow the wiki's build instructions for a fresh ubuntu machine, everything should work just fine: https://github.com/NarrativeScience/Log.io/wiki/v0.3.4-Build-Recipe-(Ubuntu-14.04)
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#80
No description provided.