Error certificate???
Details
i'm writing npm i in my project and im taking this kind of error.
**> @impeo/[email protected] preinstall C:\Users\pameydev03\Repos\Eurolife\customer-area-src\ice-playground
rm -R node_modules/@impeo || rd /s /q "node_modules/@impeo" || exit 0
'rm' is not recognized as an internal or external command, operable program or batch file. The system cannot find the file specified.
[email protected] install C:\Users\pameydev03\Repos\Eurolife\customer-area-src\ice-playground\node_modules\keytar prebuild-install || npm run build
prebuild-install WARN install self signed certificate in certificate chain
[email protected] build C:\Users\pameydev03\Repos\Eurolife\customer-area-src\ice-playground\node_modules\keytar node-gyp rebuild
C:\Users\pameydev03\Repos\Eurolife\customer-area-src\ice-playground\node_modules\keytar>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: self signed certificate in certificate chain
gyp ERR! stack at TLSSocket.node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\pameydev03\AppData\Roaming\npm-cache_logs\2022-08-26T12_41_30_937Z-debug.log
[email protected] install C:\Users\pameydev03\Repos\Eurolife\customer-area-src\ice-playground\node_modules\node-libcurl** node-pre-gyp install --fallback-to-build
i never faced any issue with this command in any pc that i m making the installation(either Windows or Mac). On this machine the os is Windows 10 pro and it is hosted in VM.(and Windows are not activated) Im trying to understand if there is a needed certificate but i do not know where to find and what are the steps to install it(if this is the problem).
Please if anyone can help i would appreciate it
Node.js version
Node 8.12.0
Example code
No response
Operating system
Windows 10 pro
Scope
Installation
Module and version
Not applicable.
As it currently stands, your issue lacks sufficient details for us to reproduce it. Please provide more context.