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

io.js compatibility #147

Closed
salzhrani opened this issue Jan 15, 2015 · 5 comments
Closed

io.js compatibility #147

salzhrani opened this issue Jan 15, 2015 · 5 comments
Labels

Comments

@salzhrani
Copy link
Contributor

Might be too soon, but sharp won't run on io.js 1.0.1 beta.

@lovell
Copy link
Owner

lovell commented Jan 15, 2015

Have you been able to try v0.8.4 published to npm a couple of hours ago? It uses the latest version of nan so should, in theory, "just work".

@salzhrani
Copy link
Contributor Author

Yeah I did ... here is what I got

v1.0.1
Error: Module did not self-register.
    at Error (native)
    at Module.load (module.js:341:32)
    at Function.Module._load (module.js:296:12)
    at Module.require (module.js:351:17)
    at require (module.js:370:17)
    at Object.<anonymous> (/Users/samy/Documents/injazat/server/node_modules/sharp/index.js:11:13)
    at Module._compile (module.js:446:26)
    at Object.Module._extensions..js (module.js:464:10)
    at Module.load (module.js:341:32)
    at Function.Module._load (module.js:296:12)
Samys-MacBook:server samy$ head node_modules/sharp/package.json
{
  "name": "sharp",
  "version": "0.8.4",
  "author": {
    "name": "Lovell Fuller",
    "email": "npm@lovell.info"
  },
  "contributors": [
    {
      "name": "Pierre Inglebert",

@lovell
Copy link
Owner

lovell commented Jan 15, 2015

Are you using a (virtual) machine that also has Node.js installed? You may have run into nodejs/node#433

You should be able to find which node-gyp is in use by running something like:

ls -l `which node-gyp`

@salzhrani
Copy link
Contributor Author

Yep it is it. Sorry about that.

@lovell
Copy link
Owner

lovell commented Jan 16, 2015

No worries, glad it solved the problem.

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

No branches or pull requests

2 participants