Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install with Node v0.10.24 #11

Closed
salehsed opened this issue Dec 25, 2013 · 6 comments
Closed

Install with Node v0.10.24 #11

salehsed opened this issue Dec 25, 2013 · 6 comments

Comments

@salehsed
Copy link

Error for install msgpack on ubuntu 12.4 + Node v0.10.24

''''
sudo npm install msgpack -g
/usr/bin/json2msgpack -> /usr/lib/node_modules/msgpack/bin/json2msgpack
/usr/bin/msgpack2json -> /usr/lib/node_modules/msgpack/bin/msgpack2json

[email protected] install /usr/lib/node_modules/msgpack
node-gyp rebuild

gyp http GET http://nodejs.org/dist/v0.10.24/node-v0.10.24.tar.gz
gyp http 200 http://nodejs.org/dist/v0.10.24/node-v0.10.24.tar.gz
gyp ERR! UNCAUGHT EXCEPTION
gyp ERR! stack Error: EPERM, utime '/home/ubuntu/.node-gyp/0.10.24'
gyp ERR! System Linux 3.2.0-57-virtual
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/msgpack
gyp ERR! node -v v0.10.24
gyp ERR! node-gyp -v v0.12.1
gyp ERR! This is a bug in node-gyp.
gyp ERR! Try to update node-gyp and file an Issue if it does not help:
gyp ERR! https://github.com/TooTallNate/node-gyp/issues
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 7
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the msgpack package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls msgpack
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.2.0-57-virtual
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "msgpack" "-g"
npm ERR! cwd /usr/local/MYPROJ/node/node.js
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.21
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /usr/local/MYPROJ/node/node.js/npm-debug.log
npm ERR! not ok code 0
''''

@godsflaw
Copy link
Contributor

might be related to: pgriess/node-msgpack#53

Even though that is a local install, something must have changed in node v0.10.24.

@deepak1556
Copy link

it builds perfectly with 0.10.24, Also tried with 0.10.22 , fails only with 0.11.x

EDIT: @godsflaw works fine with 0.11.0, my mistake trying out with 0.11.11 directly "which is busted". But the code needs changes for compatiblity when 0.12 comes out, could change over to using NAN

@godsflaw
Copy link
Contributor

@deepak1556, @salehsed, can you let me know if msgpack v0.2.2 works for you? I just updated npm and master. This should update msgpack and appears to compile for me and a few others on 0.10.x.

@deepak1556, if we have problems with compatibility under 0.12.x (when it gets here), we should open a ticket and try to resolve that before node 0.12.x is out.

@hden
Copy link

hden commented Feb 19, 2014

@godsflaw It works for me with v0.10.24.

@godsflaw
Copy link
Contributor

This specific issue appears resolved, but we need to look into node v0.11.x soon.

@deepak1556
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants