Git Product home page Git Product logo

Comments (2)

sespinoza-dev avatar sespinoza-dev commented on July 26, 2024 1

My node version is v18, and I'm running npm i msnodesqlv8.

Here is the error part of the log:

error code 1
242 error path C:\Users\T11242DTD\Documents\GitHub\emsdhome-staff-advanced-search\node_modules\msnodesqlv8
243 error command failed
244 error command C:\Windows\system32\cmd.exe /d /s /c prebuild-install || node-gyp rebuild
245 error prebuild-install warn install self-signed certificate in certificate chain
245 error gyp info it worked if it ends with ok
245 error gyp info using [email protected]
245 error gyp info using [email protected] | win32 | x64
245 error gyp info find Python using Python version 3.11.3 found at "C:\Users\T11242DTD\AppData\Local\Programs\Python\Python311\python.exe"
245 error gyp http GET https://nodejs.org/download/release/v18.16.0/node-v18.16.0-headers.tar.gz
245 error gyp WARN install got an error, rolling back install
245 error gyp ERR! configure error
245 error gyp ERR! stack FetchError: request to https://nodejs.org/download/release/v18.16.0/node-v18.16.0-headers.tar.gz failed, reason: self-signed certificate in certificate chain
245 error gyp ERR! stack at ClientRequest. (C:\Users\T11242DTD\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\node_modules\minipass-fetch\lib\index.js:130:14)
245 error gyp ERR! stack at ClientRequest.emit (node:events:513:28)
245 error gyp ERR! stack at TLSSocket.socketErrorListener (node:_http_client:502:9)
245 error gyp ERR! stack at TLSSocket.emit (node:events:513:28)
245 error gyp ERR! stack at emitErrorNT (node:internal/streams/destroy:151:8)
245 error gyp ERR! stack at emitErrorCloseNT (node:internal/streams/destroy:116:3)
245 error gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
245 error gyp ERR! System Windows_NT 10.0.19044
245 error gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\T11242DTD\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
245 error gyp ERR! cwd C:\Users\T11242DTD\Documents\GitHub\emsdhome-staff-advanced-search\node_modules\msnodesqlv8
245 error gyp ERR! node -v v18.16.0
245 error gyp ERR! node-gyp -v v9.3.1
245 error gyp ERR! not ok
246 verbose exit 1

I did try to install the previous version like 3.1 & 2.1 but it still give me the same error. Please help me to solve this.

I have the same issue in Mac Ventura 13.4, with npm v9.5.1, Nodejs v18.16.0, also tried with older npm versions.

[EDITED: SOLVED]
What was the issue for me was Netscope Client, I disable it and I was able to install it. So it's most probably a network security issue.

Netscop Client is a security software that is designed to protect the system by monitoring and filtering network traffic. It's possible that Netscop Client was interfering with the network requests made by npm during the installation process, leading to the failure of fetching the necessary files from the npm registry.

from node-sqlserver-v8.

TimelordUK avatar TimelordUK commented on July 26, 2024 1

from node-sqlserver-v8.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.