共计 474 个字符,预计需要花费 2 分钟才能阅读完成。
npm install 时候提示:
% npm install
npm ERR! read ECONNRESET
npm ERR! syscall read
npm ERR! errno -54
npm ERR! network read ECONNRESET
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
根据提示,好像是代理什么的问题,但是刚安装的 node 环境也没有配置过,此时只需要清理一下本地缓存即可:
% npm config rm proxy
% npm config rm https-proxy
再次执行 npm install 就安装成功了
正文完
加入官方交流QQ群:778957856
