-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Unable to install node-gyp under node 0.10.x SyntaxError: Use of const in strict mode #1299
Comments
See request/request#2772. I'm afraid there isn't much you can do except install an older version of request manually. I don't really want to pin the version of request to 2.81.x because that would prevent it from being shared with npm's copy (when node-gyp is bundled with npm - the common case) but maybe we should for now. @nodejs/node-gyp Thoughts? |
That is a good workaround. thank you. Here is what I'm using now in case it helps someone else.
|
|
Closing, #1300 was merged. |
Verbose output (from npm or node-gyp):
This used to work, but is now failing for us. Any advice on how to proceed would be appreciated. We are trying to run a legacy system, which uses node 0.10.x
If I try to install the latest node-gyp, it displays some warnings:
The text was updated successfully, but these errors were encountered: