npm 安装Vue环境时报错

使用npm方法安装Vue环境,在安装cnpm时出现了问题:

在命令行输入:npm install -g cnpm --registry=http://registry.npm.taobao.org,出现了警告,如图:

解决方法如下:

在命令行输入:

    npm cache clean -f

    npm install npm -g

posted @ 2019-03-01 10:28  喵呜1314  阅读(726)  评论(0编辑  收藏  举报