【发布时间】:2022-02-15 10:04:28
【问题描述】:
我正在尝试使用npx create-react-app client 创建一个反应应用程序。
我收到以下错误:
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 react-dev-utils@^12.0.0.
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 in:
npm ERR! C:\Users\uzair\AppData\Local\npm-cache\_logs\2022-02-04T05_42_25_207Z-debug-0.log
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 client/ from C:\Projects\Exhibition Gate\ExhibitionGate
Done.
【问题讨论】:
标签: reactjs npm create-react-app