node-pre-gyp

npm install sqlite3 - gyp error: unable to get local issuer certificate

孤街醉人 提交于 2020-06-29 04:52:10
问题 I am working on clean Windows 10 installation. When trying to run npm install sqlite3 from myproject path, getting the following error: gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: unable to get local issuer certificate gyp ERR! stack at TLSSocket.onConnectSecure (_tls_wrap.js:1474:34) gyp ERR! stack at TLSSocket.emit (events.js:310:20) gyp ERR! stack at TLSSocket._finishInit (_tls_wrap.js:917:8) gyp ERR! stack at TLSWrap.ssl

How to fix gyp ERR! inside a npm build

社会主义新天地 提交于 2020-06-17 09:18:09
问题 I recently built a mean stack app and containerized it. However, I have trouble build it on my raspberry pi and I don't understand the error. When I build my app over my debian machine, everything build perfectly. Even if I get this line during the build process: node-pre-gyp WARN Using needle for node-pre-gyp https download Unfortunately, I cannot build the same container on my raspberry. This warning get really worse and exit with error code 1: node-pre-gyp WARN Using needle for node-pre