call npm --registry https://registry.npm.taobao.org install -y -g

去掉-g参数就可以了。

posted on 2020-01-18 18:24  芝麻的西瓜  阅读(464)  评论(0编辑  收藏  举报