找不到与 browserslist@^4.19.1 匹配的版本

No matching version found for browserslist@^4.19.1

我在尝试 运行 create-react-app 时收到此消息。 这在 VSC 终端和命令提示符下都会发生。我没有更改我电脑上的任何设置。

然后收到以下消息,到目前为止我尝试的故障排除是卸载并重新安装 Node、create-react-app 和 VSC。


Creating a new React app in C:\Users\user1\test.

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

npm ERR! code ETARGET
npm ERR! notarget No matching version found for your browserslist@^4.19.1.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist. 

npm ERR! A complete log of this run can be found at (**file location**)

Aborting installation.
  npm install --no-audit --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.

Deleting generated file... package.json
Deleting text/ from C:\Users\user1
Done.

试试这个命令

npm cache clean --force