remix无法安装的解决方案

无法安装的原因:
因为remix依赖python 执行python又依赖c++的环境 所以连环导致出错

https://github.com/nodejs/node-gyp

npm i -g npm

先清理缓存
npm cache clean --force

然后手动去下面路径
C:\Users\Administrator\AppData\Roaming\npm\node_modules里面把remix-ide和web3两个文件夹删掉,如果有的话

然后依次执行
npm install -g --production windows-build-tools
npm install -g [email protected](先试试这个版本,不行后续再换版本)
npm install -g remix-ide -g

开热点下,不要用教室的网络

补充:
https://www.cnblogs.com/yzeng/p/7205473.html

https://blog.csdn.net/notejs/article/details/49681517

猜你喜欢

转载自www.cnblogs.com/xiaocongcong888/p/9385886.html