js使用react,并在Visual Studio代码中创建了"npx create-react-app delivery“。顺便说一下,我一直收到npm错误。如何解决这个问题?
npm ERR! code ENOENT
npm ERR! syscall spawn C:\WINDOWS\system32\cmd.exe;
npm ERR! C:\Users\***\Documents\React class
npm ERR! errno -4058
npm ERR! enoent spawn C:\WINDOWS\system32\cmd.exe; 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\***\AppData\Local\npm-cache\_logs\2021-11-04T03_51_11_010Z-debug.log
我的环境设置如下: node.js: 16.12.0 LTS OS: window 10
发布于 2021-11-04 05:01:07
据我所知,您的项目文件夹名称中有一个空格符号。只需将其重命名,不带空格
https://stackoverflow.com/questions/69834696
复制相似问题