I am running the angular app in my local machine in the VS code when I fire the command npm install in my VS code terminal I am getting below error
gyp ERR! stack Error: unable to get local issuer certificate
gyp ERR! stack at TLSSocket.onConnectSecure (_tls_wrap.js:1497:34)
gyp ERR! stack at TLSSocket.emit (events.js:315:20)
gyp ERR! stack at TLSSocket._finishInit (_tls_wrap.js:932:8)
gyp ERR! stack at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12)
gyp ERR! System Windows_NT 10.0.18363
Can anyone let me know how to rectify this error as I have already wasted my 3 days to overcome this error but still could not find.
npm config set strict-ssl false
– Lappetset NODE_TLS_REJECT_UNAUTHORIZED=0
if you're on Win runnpm config set NODE_TLS_REJECT_UNAUTHORIZED=0
– Lappet