create-react-app:无法获取本地发行者证书

时间:2020-06-02 17:39:18

标签: create-react-app yarnpkg

我是新手,我在“ create-react-app my-app”时遇到以下错误:

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...

yarn add v1.22.4

[1/4] Resolving packages...
[2/4] Fetching packages...

error An unexpected error occurred: "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz: unable to get local issuer certificate".

Aborting installation.

Deleting generated file... package.json
Deleting generated file... yarn.lock

Done.

OS- fedora 30纱线版本:v1.22.4

0 个答案:

没有答案