【发布时间】:2021-06-27 06:37:22
【问题描述】:
当我尝试运行npm create-react-app 和yean create react-app 命令时,它返回了Error: EINVAL: invalid argument, mkdir 'C:\Users\<User Name>\AppData\Roaming\npm' 的错误
我尝试使用 *npm cache clear* *npm cache clean --force* 命令清除捕获。但是结果和以前一样。
是什么原因造成的,我该如何解决?
【问题讨论】:
标签: node.js reactjs windows npm yarnpkg