Skip to content

Can't install ws on iojs v3.0.0 #549

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

Closed
lewispham opened this issue Aug 13, 2015 · 11 comments
Closed

Can't install ws on iojs v3.0.0 #549

lewispham opened this issue Aug 13, 2015 · 11 comments

Comments

@lewispham
Copy link

I've tried to install ws on iojs v3.0.0 and it fails at node-gyp rebuild stage. Is there any work around for this issue?

@3rd-Eden
Copy link
Member

To be honest here, if that part fails, it's really iojs / npm to blame as these are optional binary dependencies that fail to build (work is already being done to get them working on iojs 3). They should just ignore the node-gyp and continue with the installation of the module..

I would suggest also reporting these issues at npm/iojs's repositories. Having that said, community members are already fixing parts of the failing code in the related websockets/* repositories.

@lewispham
Copy link
Author

@3rd-Eden I have know idea about the cause, otherwise I've done that.

@3rd-Eden
Copy link
Member

Please confirm that master is working, i've bumped the optionalDependencies now that they support nan 2.0 for iojs 3.0

@lewispham
Copy link
Author

It fails with same error.

@lewispham
Copy link
Author

It actually works fine with rebuild but install.

@3rd-Eden
Copy link
Member

Did you install it using npm install websockets/ws ? Or in a different way?

@3rd-Eden
Copy link
Member

This is my output with the latest iojs:

$ npm install websockets/ws
\
> [email protected] install /Users/V1/Projects/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/validation.node

> [email protected] install /Users/V1/Projects/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild

  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/bufferutil.node
[email protected] node_modules/ws
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected])

@lewispham
Copy link
Author

No. I use the instructed command npm install --save ws.

@3rd-Eden
Copy link
Member

Ok, that just installed the latest published release in npm, not the one from github's master branch.

@lewispham
Copy link
Author

I got your output with npm install websockets/ws.

@3rd-Eden
Copy link
Member

The release is out. Thanks for your patience.

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

No branches or pull requests

2 participants