报错
解决方法
1.清除npm缓存
npm cache clean --force
2.禁用SSL
npm config set registry https://registry.npm.taobao.org/
注:若用npm安装express时一直卡住,要检查一下npm镜像,是不是国内的淘宝镜像。
报错
解决方法
1.清除npm缓存
npm cache clean --force
2.禁用SSL
npm config set registry https://registry.npm.taobao.org/
注:若用npm安装express时一直卡住,要检查一下npm镜像,是不是国内的淘宝镜像。