Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows 10 x64 部署 npm #287

Open
Suvan-L opened this issue Oct 27, 2021 · 0 comments
Open

windows 10 x64 部署 npm #287

Suvan-L opened this issue Oct 27, 2021 · 0 comments

Comments

@Suvan-L
Copy link

Suvan-L commented Oct 27, 2021

系统;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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant