vhr
vhr copied to clipboard
windows 10 x64 部署 npm
系统;win 10 x64
python: Python27
nodejs: 16.13.0
【若要使用最新的 nodejs 需要修改 vuehr 目录下的 package.json】
修改为:
{
"node-sass": "^6.0.1",
"sass-loader": "^10.0.1",
}
同时本地需要安装 Visual Studio 2019
- 选择 “Desktop development with C ++"
安装完后 设置淘宝源 npm config set registry https://registry.npm.taobao.org/ 安装工具包 npm install --global windows-build-tools 设置 vs 版本 npm config set msvs_version 2019 更新 依赖包 npm install 重新构建 node-sass node-sass 启动服务 npm run serve