Installing Logio on Redhat - connect fails

134 views
Skip to first unread message

Johnny Costello

unread,
Oct 11, 2012, 7:18:40 PM10/11/12
to lo...@googlegroups.com
I am trying to install the latest build on Rehat. I cannot get the connect requirement to install.

I end up getting this error.
npm ERR! Failed unpacking /tmp/npm-1349997404348/1349997404348-0.7792412883136421/tmp.tgz
npm ERR! couldn't unpack /tmp/npm-1349997404348/1349997404348-0.7792412883136421/tmp.tgz to /tmp/npm-1349997404348/1349997404348-0.7792412883136421/contents
npm ERR! error installing con...@1.9.2 Error: `tar "-zmvxpf" "/tmp/npm-1349997404348/1349997404348-0.7792412883136421/tmp.tgz" "-o"`
npm ERR! error installing con...@1.9.2 failed with 2
npm ERR! error installing con...@1.9.2     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/tar.js:217:20)
npm ERR! error installing con...@1.9.2     at ChildProcess.emit (events.js:67:17)
npm ERR! error installing con...@1.9.2     at Socket.<anonymous> (child_process.js:172:12)
npm ERR! error installing con...@1.9.2     at Socket.emit (events.js:64:17)
npm ERR! error installing con...@1.9.2     at Array.0 (net.js:831:12)
npm ERR! error installing con...@1.9.2     at EventEmitter._tickCallback (node.js:126:26)
npm ERR! Error: `tar "-zmvxpf" "/tmp/npm-1349997404348/1349997404348-0.7792412883136421/tmp.tgz" "-o"`

 Is there a way to install connect without using NPM? For some reason it always fails for me and this was on multiple servers. 



Michal Sabo

unread,
Oct 15, 2012, 11:10:33 AM10/15/12
to lo...@googlegroups.com
Hi.
I've installed it on Cenots 6 according this build recipe https://github.com/NarrativeScience/Log.io/wiki/v0.2.7-Build-Recipe-(Ubuntu-12.04) without any problems.
Aren't you having permission issues on /tmp folder?

I have also found this post https://groups.google.com/forum/?fromgroups=#!topic/npm-/zzBgkvp8ZyU which may be relevant to yours.

Johnny Costello

unread,
Oct 15, 2012, 5:39:09 PM10/15/12
to lo...@googlegroups.com
No, I do not have permissions problems on tmp. I ran the install as both root and sudo.

I ran the build recipe on Redhat 6 and Ubuntu and it worked fine. But it fails on multiple clean installs of CentOS 5.8 and Redhat 5.8 which my environment runs on. 

I thought it maybe related to connect because that was the prerequisite it always failed on. I was unable to install any version of Connect except 0.5.0. I posted in connect forums and they pointed me to a possible problem with the node version and connect. node fails to install on the latest version and that maybe be what was affecting this.

I finally got everything to work by using con...@0.5.0 for...@0.9.0 and sock...@0.6.17

Not sure why connect fails but that seems to be the culprit with 5.8 version of Cent. I am going to go to the Node people are see if I can work out why node is failing to install any version of connect other than 0.5.0
Reply all
Reply to author
Forward
0 new messages