当我运行npm install时rollbackFailedOptional

时间:2020-07-28 18:40:00

标签: reactjs npm npm-install

当我尝试使用create-react-app时,我一直返回此错误消息:

C:\Users\Desha Stewart\Desktop\Coding Projects\projects>npm install -g create-react-app [..................] / rollbackFailedOptional: verb npm-session 85d47ade029a6ba

我已经尝试使用以下方法解决该问题:

npm config rm proxy
npm config rm https-proxy

npm config set registry http://registry.npmjs.org/
npm config get proxy

npm config set proxy "http://your-proxy.com:80"
npm config rm proxy
npm config rm https-proxy
npm install npm@latest -g

npm init
npm config rm proxy
npm config rm https-proxy
npm i -g create-react-app second-react-lecture

0 个答案:

没有答案