errors when using node-gyp to build

925 views
Skip to first unread message

SteveCronin

unread,
Apr 23, 2012, 1:45:22 PM4/23/12
to nod...@googlegroups.com
Can someone help me figure out what is going on with this invocation of node-gyp?
Where do I go for more information?

node...@0.4.1  /usr/local/lib/node_modules/node-gyp

hsd-test-iMac-1073:XYZApp admin$ node --version
v0.6.15
hsd-test-iMac-1073:XYZApp admin$ which node
/usr/local/bin/node

hsd-test-iMac-1073:XYZApp admin$ sudo node-gyp -v configure build
Password:
info it worked if it ends with ok 
verb command 'configure' [] 
verb `which` succeeded for `python` '/usr/bin/python' 
verb no --target version specified, falling back to host node version 'v0.6.15' 
verb command 'install' [ 'v0.6.15' ] 
verb input version string 'v0.6.15' 
verb installing legacy version? true 
verb installing version '0.6.15' 
verb --ensure was passed, so won't reinstall if already installed 
verb version not already installed, continuing with install '0.6.15' 
verb created: '/Users/admin/.node-gyp/0.6.15' 
verb got an error, rolling back install 
verb command 'remove' [ '0.6.15' ] 
verb using node-gyp dir '/Users/admin/.node-gyp' 
verb removing development files for version '0.6.15' 
ERR! Error: connect ETIMEDOUT
   at errnoException (net.js:670:11)
   at Object.afterConnect [as oncomplete] (net.js:661:19)
ERR! not ok
hsd-test-iMac-1073:XYZApp admin$ 

mscdex

unread,
Apr 23, 2012, 4:04:18 PM4/23/12
to nodejs, SteveCronin
On Apr 23, 1:45 pm, SteveCronin <steve.d...@gmail.com> wrote:
> Can someone help me figure out what is going on with this invocation of
> node-gyp?
> Where do I go for more information?

What are you trying to build with node-gyp? Why is sudo needed?

Ryan Cole

unread,
Apr 23, 2012, 5:13:02 PM4/23/12
to nod...@googlegroups.com
According to the node-gyp read me file, node-gyp will download required files. It looks to me like that download is failing for you.

Ryan

Nathan Rajlich

unread,
Apr 23, 2012, 6:28:25 PM4/23/12
to nod...@googlegroups.com
If you're behing a corporate proxy, then will have to set the PROXY environment variable, or set the --proxy switch to your the address of your proxy server.

--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply all
Reply to author
Forward
0 new messages