# 常用命令
npm config list # 查看基本配置
npm config list -l # 查看所有配置
npm config get registry # 获取registry配置
npm config get prefix # 获取全局安装的默认目录
1
2
3
4
2
3
4
registry=https://registry.npm.taobao.org
MSBUILD : error MSB3428: 未能加载 Visual C++ 组件“VCBuild.exe”。 解决:npm install --global --production windows-build-tools (全局安装windows构建工具)
私服安装 →