请问一下这个安装镜像失败是环境变量的问题吗,要怎么更改

img


请问一下这个安装镜像失败是环境变量的问题吗,要怎么更改,依赖安装也一直失败

node -v 检查一下 node.js 版本,先看node.js是否安装,npm 也是基于node的

npm是什么版本
执行下以下两条命令试下
npm install npm@6.0.0
npm install -g cnpm --registry=https://registry.npm.taobao.org/