0
I’m running sudo npm install websocket
on my Mac with nodejs but causes me this error, how to fix?
npm install websocket
-
> [email protected] install /Users/Vinicius/node_modules/websocket
> (node-gyp rebuild 2> builderror.log) || (exit 0)
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/bufferutil.node
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/validation.node
[email protected] node_modules/websocket
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected])
What version of Node.js are you using? (does
node -v
to give you the version)– Sergio
@Sergio v0.12.7 is what turned me on
– Elaine
In the documentation on github it says that it supports versions 0.8 and 0.10. Maybe that’s the problem.
– Sergio
@Sergio I downloaded version 0.8 and returns me now when installing, this big error https://jsfiddle.net/L43gtw6b/
– Elaine