收到此错误 EIO:创建反应应用程序时出现 i/o 错误

时间:2021-01-20 11:44:30

标签: javascript node.js reactjs npm

在创建 react-app 时出现此错误

C:\Users\HP\Desktop\New folder (2)\react>npx create-react-app keeper
Creating a new React app in C:\Users\HP\Desktop\New folder (2)\react\keeper.

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

npm ERR! code EIO 
npm ERR! syscall read
npm ERR! errno -4070
npm ERR! EIO: i/o error, read

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\HP\AppData\Local\npm-cache\_logs\2021-01- 
20T11_27_54_540Z-debug.log

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

Deleting generated file... node_modules
Deleting generated file... package.json
Deleting keeper/ from C:\Users\HP\Desktop\New folder (2)\react
Done.
npm ERR! code 1
npm ERR! path C:\Users\HP\Desktop\New folder (2)\react
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c create-react-app 
keeper

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\HP\AppData\Local\npm-cache\_logs\2021-01- 
20T11_28_32_438Z- 
debug.log

以前如何解决这个问题我可以轻松创建反应应用程序 但这会出错。

0 个答案:

没有答案