尝试安装create-react-app时出错

时间:2020-06-19 00:38:34

标签: reactjs git create-react-app npm-install npm-scripts

thats the error in the image在过去的几分钟里,我一直在尝试...我将其卸载,然后再次尝试相同的错误,我还安装了最新版本的node仍然相同的错误。

1 个答案:

答案 0 :(得分:2)

在安装react-app之前尝试使用此命令:

npm cache clean --force

如果上述方法不起作用:

npm cache verify