"npm ERR! gyp ERR! find VS looking for Visual Studio 2015\nnpm ERR! gyp ERR! find VS - not found\nnpm ERR! gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8\nnpm ERR! gyp ERR! find VS\nnpm ERR! gyp ERR! find VS **************************************************************\nnpm ERR! gyp ERR! find VS You need to install the latest version of Visual Studio\nnpm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.\nnpm ERR! gyp ERR! find VS For more information consult the documentation at:\nnpm ERR! gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows\nnpm ERR! gyp ERR! find VS **************************************************************\nnpm ERR! gyp ERR! find VS\nnpm ERR! gyp ERR! configure error\nnpm ERR! gyp ERR! stack Error: Could not find any Visual Studio installation to use\n这个错误是由于缺少Visual Studio 2015或更高版本引起的。你需要安装最新版本的Visual Studio,包括"Desktop development with C++"工作负载。你可以通过以下链接找到更多信息:https://github.com/nodejs/node-gyp#on-windows。安装完Visual Studio后,重新运行npm命令应该能解决这个问题。

解决npm ERR! gyp ERR! find VS 错误:缺少Visual Studio - Node.js安装指南

原文地址: https://www.cveoy.top/t/topic/p7JE 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录