# 常用命令

npm config list	                # 查看基本配置
npm config list -l	            # 查看所有配置
npm config get registry	        # 获取registry配置
npm config get prefix	        # 获取全局安装的默认目录
1
2
3
4

registry=https://registry.npm.taobao.org

MSBUILD : error MSB3428: 未能加载 Visual C++ 组件“VCBuild.exe”。 解决:npm install --global --production windows-build-tools (全局安装windows构建工具)

更新时间: 2021-05-09 17:32:00