This appears to be an issue with attempting to use SSL while installing your project's required packages. This occurs due to how you set your npm registry:
npm config set registry https://registry.npmjs.org/
Notice the https prefix in your npm registry, Hyper Text Transfer Protocol Secure (HTTPS) is the secure version of HTTP, the protocol over which data is sent between your browser and the website that you are connected to. The 'S' at the end of HTTPS stands for 'Secure'. It means all communications between your browser and the website are encrypted. HTTPS pages typically use one of two secure protocols to encrypt communications - SSL (Secure Sockets Layer) or TLS (Transport Layer Security).
Perhaps you can try the following to see if it resolves your issue:
npm config set registry http://registry.npmjs.org/
Then try reinstalling your dependencies with an npm install
Alternatively, you can turn off the ssl requirement (although use at your own discretion) by doing the following:
npm config set strict-ssl false
then try to install your requirements again with an npm install
npm config set strict-ssl false
. but didnot solve the problem. Still i get error. please see the error message in my comment belowgyp 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.<anonymous> (_tls_wrap.js:1116:38) gyp ERR! stack at emitNone (events.js:106:13) gyp ERR! stack at TLSSocket.emit (events.js:208:7)
– Kufic