[GH-ISSUE #91] Error trying to install log.io #70

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

Originally created by @ulinkwo on GitHub (Aug 23, 2013).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/91

When I install Log.io in my vm:
OS: Ubuntu 13.04 x64
node: 0.10.15
npm: 1.3.5

but the following errors happened:

gyp: /home/kyle/.node-gyp/0.10.15/common.gypi not found (cwd: /usr/local/lib/node_modules/log.io/node_modules/jquery/node_modules/contextify) while reading includes of binding.gyp while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:424:16)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Linux 3.8.0-19-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/log.io/node_modules/jquery/node_modules/contextify
gyp ERR! node -v v0.10.15
gyp ERR! node-gyp -v v0.10.6
gyp ERR! not ok 
npm ERR! weird error 1
Originally created by @ulinkwo on GitHub (Aug 23, 2013). Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/91 When I install Log.io in my vm: OS: Ubuntu 13.04 x64 node: 0.10.15 npm: 1.3.5 but the following errors happened: ``` gyp: /home/kyle/.node-gyp/0.10.15/common.gypi not found (cwd: /usr/local/lib/node_modules/log.io/node_modules/jquery/node_modules/contextify) while reading includes of binding.gyp while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:424:16) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12) gyp ERR! System Linux 3.8.0-19-generic gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/local/lib/node_modules/log.io/node_modules/jquery/node_modules/contextify gyp ERR! node -v v0.10.15 gyp ERR! node-gyp -v v0.10.6 gyp ERR! not ok npm ERR! weird error 1 ```
kerem closed this issue 2026-02-26 05:31:14 +03:00
Author
Owner

@vmadman commented on GitHub (Nov 17, 2013):

Taking a shot in the dark here, but I had trouble with gyp as well on vagrant. I had to set a HOME environment variable and set --user "someuser" when calling NPM.

<!-- gh-comment-id:28649172 --> @vmadman commented on GitHub (Nov 17, 2013): Taking a shot in the dark here, but I had trouble with gyp as well on vagrant. I had to set a HOME environment variable and set --user "someuser" when calling NPM.
Author
Owner

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

I've never seen this one before, perhaps it has something to do with your node.js installation or the user under which you're running the npm install? Either way I don't think it's an issue with the log.io application, but rather your environment. I've built it in a variety of virtualbox instances without trouble, though never through vagrant.

All I can recommend is that you follow the build recipe in the wiki, which has always worked for me:
https://github.com/NarrativeScience/Log.io/wiki/v0.3.4-Build-Recipe-(Ubuntu-14.04)

<!-- gh-comment-id:50853432 --> @msmathers commented on GitHub (Aug 1, 2014): I've never seen this one before, perhaps it has something to do with your node.js installation or the user under which you're running the npm install? Either way I don't think it's an issue with the log.io application, but rather your environment. I've built it in a variety of virtualbox instances without trouble, though never through vagrant. All I can recommend is that you follow the build recipe in the wiki, which has always worked for me: 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#70
No description provided.