小编Rey*_*zah的帖子

create-react-app 期间的 ENOENT(错误 -4058)

当我输入 npm 命令 create-react-app my-app 时,出现如下错误:

npm ERR! code ENOENT

npm ERR! syscall spawn C:\Windows\System32;

npm ERR! path C:\Users\Administrator\Documents\th-wedding\template

npm ERR! errno -4058

npm ERR! enoent spawn C:\Windows\System32; ENOENT

npm ERR! enoent This is related to npm not being able to find a file.

npm ERR! enoent

npm ERR! A complete log of this run can be found in:

npm ERR!     C:\Users\Administrator\AppData\Local\npm-cache\_logs\2023-02-02T04_41_46_601Z-debug-0.log
Run Code Online (Sandbox Code Playgroud)

我已经尝试了各种方法,从设置环境到使用不同版本重新安装,但仍然出现错误

javascript node.js npm createjs reactjs

2
推荐指数
1
解决办法
9129
查看次数

标签 统计

createjs ×1

javascript ×1

node.js ×1

npm ×1

reactjs ×1