配置完环境变量之后 ,全局安装一个最常用的 express 模块进行测试
执行命令 npm install express -g
卡在 sill IdealTree buildDeps上
切换下载源
npm config set registry https://registry.npm.taobao.org
报错:npm ERR! code CERT_HAS_EXPIRED
清除npm缓存:npm cache clean --force
还是报错
取消ssl验证:npm config set strict-ssl false
再install时不报错了