【发布时间】:2020-09-17 19:28:14
【问题描述】:
我在新的 ubuntu 系统上安装了 node 和 create-react-app。但是得到了这个错误。
错误
我全局卸载 node 和 create-react-app,然后重新安装。 还是同样的错误。
试过
下面的命令,我试图解决这个问题,但没有任何工作
npm cache clean --force
npm config set registry "https://registry.npmjs.com/"
信息
我在 .npm/_logs 中找不到此错误日志文件。因为这个目录下没有文件
npm -v 6.14.8
节点 -v 10.19.0
create-react-app --version 3.4.1
【问题讨论】: