-
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
Add option to disable strict ssl #448
Comments
Try invoking node-gyp with |
Hello @TooTallNate! |
From command line |
Hello, I have also encountered this problem,My computer is windows7 When I execute npm install, I still report this error. The above action does not work. I am very anxious. People who want to know can help me. My error is this: C:\codeing\NfcClientTool\ClientTool\node_modules\pcsclite>if not defined npm_config_node_gyp (node "C:\Users\houhongf\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\ ....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\hf\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin \node-gyp.js" rebuild ) errorOut=gyp WARN install got an error, rolling back install Npm ERR! A complete log of this run can be found in: Command='C:\Program Files\nodejs\node.exe' 'C:\Users\hf\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js' rebuild buffertools@2.1.6 pcsclite@0.6 .0 sqlite3@4.0.9 |
For Windows users, at an elevated command prompt:
You can probably also add
|
Is there a solution that actually works? I tried every suggestion...
... and
I also tried to manually download the tar.gz as described here: nodejs/help#3686 (comment), but that didn't change anything. Even if I have the tar.gz file in the \tmp directory, the command fails, because the commands loads multiple files, not only the tar.gz. This might be connected to the issues nodejs/node#3742, #695 and the already mentioned nodejs/help#3686, but the recommendations there are similar to those here. |
None of the other methods worked for me (see #448 (comment)), but this command finally solved the problem (on Windows 11):
|
This doesn't seem to be possible currently when running
node-gyp install
.Being able to disable strict SSL on the download request would prevent this error (I hope):
The text was updated successfully, but these errors were encountered: