npm ERR: Could not install from “Files\npm-cache“
以管理员身份打开Windows PowerShell
# 报错了
```
E:\Code\test>npx create-react-app my-react-app
npm ERR! code ENOLOCAL
npm ERR! Could not install from "Files\npm-cache\_npx\7920" as it does not contain a package.json file.
npm ERR! A complete log of this ru...
转载
2021-09-18 15:02:56 ·
482 阅读 ·
0 评论