我正在尝试 create-react-app 但只在这里一次又一次地卡住,我已经解决了它,就像我卸载了 node.js 然后再次重新安装了那个,但只有 package.json 和 my-app 文件夹得到了创建的。没有创建需要的 src/或其他文件夹。
最终结果——
安装软件包。这可能需要几分钟。使用 cra-template 安装 react、react-dom 和 react-scripts...
core-js@2.6.11 安装后 C:\Users\user\Desktop\Attainu\Sumit-malviya-au8\coding-challenges\week09\demo\node_modules\babel-runtime\node_modules\core-js node -e "try{需要('./postinstall')}catch(e){}"
core-js@3.6.5 postinstall C:\Users\user\Desktop\Attainu\Sumit-malviya-au8\coding-challenges\week09\demo\node_modules\core-js node -e "try{require('./postinstall ')}catch(e){}"
core-js-pure@3.6.5 安装后 C:\Users\user\Desktop\Attainu\Sumit-malviya-au8\coding-challenges\week09\demo\node_modules\core-js-pure node -e "try{require( './postinstall')}catch(e){}"
- cra-template@1.0.3
- 反应脚本@3.4.1
- 反应@16.13.1
- react-dom@16.13.1 添加了来自 751 个贡献者的 1602 个包,并在 736.792 秒内审核了 1606 个包
59个包正在寻找资金运行npm fund以获取详细信息
发现 1 个低严重性漏洞运行npm audit fix以修复它们,或npm audit了解详细信息
运行 npm 审计修复后。
$ npm audit fix
npm WARN user@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})