-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
- Node Version: Node 16.14.2 and npm 8.4.0
- Platform:
Linux xoa 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17) x86_64 GNU/Linux - Compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
- Module: cpu-features
Verbose output (from npm or node-gyp):
$ NODE_TLS_REJECT_UNAUTHORIZED=0 ./node_modules/.bin/node-gyp configure
gyp info it worked if it ends with ok
gyp info using node-gyp@9.0.0
gyp info using node@16.14.2 | linux | x64
gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
gyp http GET https://nodejs.org/download/release/v16.14.2/node-v16.14.2-headers.tar.gz
(node:751064) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use `node --trace-warnings ...` to show where the warning was created)
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack FetchError: request to https://nodejs.org/download/release/v16.14.2/node-v16.14.2-headers.tar.gz failed, reason: unable to get local issuer certificate
gyp ERR! stack at ClientRequest.<anonymous> (/root/node-gyp/node_modules/minipass-fetch/lib/index.js:130:14)
gyp ERR! stack at ClientRequest.emit (node:events:526:28)
gyp ERR! stack at TLSSocket.socketErrorListener (node:_http_client:442:9)
gyp ERR! stack at TLSSocket.emit (node:events:538:35)
gyp ERR! stack at emitErrorNT (node:internal/streams/destroy:157:8)
gyp ERR! stack at emitErrorCloseNT (node:internal/streams/destroy:122:3)
gyp ERR! stack at processTicksAndRejections (node:internal/process/task_queues:83:21)
gyp ERR! System Linux 5.10.0-13-amd64
gyp ERR! command "/usr/local/bin/node" "/root/node-gyp/node_modules/.bin/node-gyp" "configure"
gyp ERR! cwd /root/node-gyp
gyp ERR! node -v v16.14.2
gyp ERR! node-gyp -v v9.0.0
gyp ERR! not ok
From what I could gather:
tonjohn, lawrence501, xantari, uberDoward, guellaeq and 5 more