-
-
Notifications
You must be signed in to change notification settings - Fork 817
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 npm install on Windows (64-bit) Node v8 #961
Comments
I just tried uninstalling node 8.11.1 and installing 7.10.1, but this did not solve the problem (for either [email protected] or 4.0.0). |
You are running |
Thanks for your speedy reply. Unfortunately, I have the same problem with node 8.11.1 and npm 3.10.10. Or should I be trying node 7 and npm 3? |
@springmeyer, I tried a few other combinations, but they also failed with the same errors:
It really seems like something is broken with node-pre-gyp, which was updated 3 times in the past 3 weeks. It could be coincidence, but the last time I attempted an npm install of sqlite3 was over 3 weeks ago, and I had no issue (and that was with pretty recent versions of node and npm). Definitely appreciate any help you can provide. I've been at this most of the day, and I'm very anxious to find a solution. |
@devuxer sorry about the trouble. I think your hunch is good since the error is coming from https://github.com/mapbox/node-pre-gyp/blob/master/bin/node-pre-gyp#L100-L106. To try to isolate node-pre-gyp can you try:
|
So, I just tried cloning and running npm install, and I actually didn't get an error. Then I tried installing sqlite3@latest in my project again, and it worked! (Note that I'm back on Node 8.11.1 and [email protected], so using more recent versions apparently wasn't the cause of the errors.) I'm a little baffled, but I can think of three possible reasons it started working again:
In any case, I'll close this for now, since it seems to be something peculiar to my machine/configuration. Thanks again for your responsiveness! |
Just FYI (and in case it helps someone else with a similar problem), I figured it out. My office network blocks access to any unknown/suspicious domains, and apparently, it was blocking node-pre-gyp's attempt to perform an HTTP GET from https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.0.0/node-v57-win32-x64.tar.gz. So, I just needed to ask IT to allow amazonaws.com, and at last, the package installed successfully! |
Had the same issue due to a corporate client running McAfee Gateway, which rather in a rather spectacularly insecure manner decrypts all https and sniffs then resigns everything (without checking if the proxy source is signed correctly of course) ... Had to turn off node sign checking to get the script to work
additionally looks like https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.0.0/node-v64-win32-x64.tar.gz is now 403ing all traffic (maybe although it's just the re-writting gateway ! although it's marginally better than one proxy i had to work through that was corrupting jpegs and zip, that contained naughty words sequences in their binary ) was still having troubles to do with python binary zip being corrupted by the proxy (midway through " npm install --global --production windows-build-tools" it was redirecting zip to a html page with javascript doing things...) but i just installed it manually from "https://www.python.org/downloads/release/python-365/" |
https://nodejs.org/dist/v10.2.0/ try download that, it worked for me |
I've suddenly run into issues installing sqlite3 on a Windows 10, 64-bit machine with the latest version of Node 8 (v8.11.1). I'm getting the same issue with both sqlite3 v3.1.13 and v4.0.0.
I've been using v3.1.13 successfully for months with node v8 without issue. So, something must have recently changed to cause this issue.
#825 (which @springmeyer closed on 30 May 2017) leads me to believe this should work, despite the readme only listing Node.js v4-7 as supported platforms.
I've pasted the error I'm getting below (sorry it's so long, I decided to follow the advice in https://github.com/mapbox/node-sqlite3/wiki/Binaries and use
--log-level=info
).Any chance you can help me understand what's going wrong?
The text was updated successfully, but these errors were encountered: