shou ye

node.js入坑记录

开篇日常立个flag....

 

npm 访问网络命令失败

具体报错:

npm ERR! FetchError: request to http://registry.npm.taobao.org/vue failed, reason: connect ECONNREFUSED 127.0.0.1:1080

原因:设置了代理

解决:

清理代理设置

npm config set proxy null

reference:https://blog.csdn.net/monkeyhan/article/details/52003209 (Monkeyhan 的 connect ECONNREFUSED 127.0.0.1:8087解决方案)

 

安装包时,提示 The "path" argument must be of type string.

reference:nrm 安装报错解决方案

 

posted @ 2021-01-05 10:17  芦荟柚子茶  阅读(72)  评论(0编辑  收藏  举报
ye jiao