Wepy create Project report unable to verify the first certificate

problem description

I have been looking for it for a long time on the Internet, saying that it is the problem of ssl certificate.
according to the following widely circulated method, it still doesn"t work

.

the platform version of the problem and what methods you have tried

on February 27th, 2014, npm no longer supports self-signed certificates.

because npm install follows the https protocol, it needs to be guaranteed by digital certificate

solution 1:

cancel ssl verification: npm config set strict-ssl false

if it is not successful, replace the npm source with a domestic image:
npm config set registry
npm config set registry
http://registry.npm.taobao.org/

solution 2:

upgrade: npm install npm-g-- ca=null
or npm config set ca= "

recommended method 1

< hr >

in the way @ tries to learn to smile ,
executes require ("https"). GlobalAgent.options.ca = require (" ssl-root-cas/latest"). Create ();
) on node

.

clipboard.png

Aug.12,2021

ssl-root-cas try this package
package address
Action =

clipboard.png

Menu