npm config set strict-ssl false -gnpm config set registry http://registry.cnpmjs.org/npm config set registry http://registry.npm.taobao.org/ yarn执行下列命令 yarn config set "strict-ssl" false -g