脚手架工具安装失败
来源:2-2 React开发环境准备
weixin_慕后端1147402
2020-07-22
npm ERR! Windows_NT 10.0.18362
npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js” “install” “-g” "create-react-app"
npm ERR! node v6.10.0
npm ERR! npm v3.10.10
npm ERR! path C:\Program\create-react-app
npm ERR! code EISDIR
npm ERR! errno -4068
npm ERR! syscall open
npm ERR! eisdir EISDIR: illegal operation on a directory, open 'C:\Program\create-react-app’
npm ERR! eisdir This is most likely not a problem with npm itself
npm ERR! eisdir and is related to npm not being able to find a package.json in
npm ERR! eisdir a package you are trying to install.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\71956\npm-debug.log
1回答
-
Dell
2020-07-25
搜索配置一下cnpm,使用cnpm进行项目的安装
00
相似问题