1. Clean up the environment

  1. Uninstall Python
  2. Delete the directory %USERPROFILE%\.windows-build-tools
  3. Execute npm uninstall -g windows-build-tools

2. Install windows-build-tools

  1. Execute the installation command

    npm install --global --production windows-build-tools
  2. After getting stuck, create a file dd_client_.log in the name of %USERPROFILE%\AppData\Local\Temp

  3. Edit dd_client_.log, add the string Closing installer. Return code: 3010. and save the file

  4. The windows-build-tools command is installed, but the Visual Studio Build Tools is not installed correctly

  5. Enter %USERPROFILE%\.windows-build-tools directory, manually execute vs_BuildTools.exe, install

image.png

  1. After installation, start the build tool, confirm that there is no problem, windows-build-tools has been fully installed

image.png

点赞(2)

评论列表 共有 0 评论

暂无评论

微信服务号

微信客服

淘宝店铺

support@elephdev.com

发表
评论
Go
顶部