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

Getting error on install ... \\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild ) #993

Closed
born2net opened this issue Feb 11, 2016 · 8 comments

Comments

@born2net
Copy link

Getting error on install node_modules\browser-sync\node_modules\socket.io\node_modules\engine.io\node_modules\ws\node_modules\bufferutil>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )

regards

Sean

@born2net born2net changed the title Getting error on install node_modules\browser-sync\node_modules\socket.io\node_modules\engine.io\node_modules\ws\node_modules\bufferutil>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild ) Getting error on install ... \\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild ) Feb 11, 2016
@dreamyguy
Copy link

The problem is with bufferutil. Have a look at https://github.com/websockets/bufferutil/issues. I came across howdyai/botkit#2, but haven't tried their fix. Unsure if I got this after a system upgrade on my OSX, which involved XCode...

@StfBauer
Copy link

On windows you have to install python 2.7 too out install browser-sync with --no-optional. Then you will avoid this error. bufferutil try to compile the python scripts with node-gyp. Those components are just for quicker responses but works even without them too.

@dreamyguy
Copy link

@StfBauer yes, I did notice that browser-sync works fine even without it, so it's not a show-stopper. Cheers for the clarification! 👍

@StfBauer
Copy link

@dreamyguy No problem. What I heard is that node.js working on a native implementation on web sockets. This brings the benefits that you don't have to rely on this part anymore.

@born2net
Copy link
Author

ok, not a show stopper, just nicer if no errors... tx

@dreamyguy
Copy link

This problem disappeared after I activated XCode by running:

sudo xcodebuild -license

XCode Version 7.2.1 (7C1002)
node v4.3.0
npm 2.14.12

@born2net
Copy link
Author

I am in Windows...

@shakyShane
Copy link
Contributor

Closing as this does not stop the installation process

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