小编Alb*_*tus的帖子

不寻找 VS2013 npm install 节点模块

运行命令“npm install”时遇到问题。我想安装 gulp 和 Bower 模块,但是当我运行“npm install”或“npm install Bower”时,我收到错误 VS2013。为什么我收到这个错误?如何解决这个问题呢?我安装的指定版本如下:

Node v10.15 npm v6.10.3 python v2.7 VSCODE v1.37.1(用户设置)

我已经在配置上添加代理: + npm config set https-proxy http://xxxxx + npm config set proxy http://xxxxx + npm config setregistry="http://registry.npmjs.org/" + npm config设置 ca "" + npm config 设置 strict-ssl false

下面这个错误日志:

吉普 错误!发现 VS msvs_version 未从命令行或 npm config gyp 设置 ERR!发现 VS VCINSTALLDIR 未设置,未在 VS 命令提示符中运行 gyp ERR!查找 VS 无法使用 PowerShell 查找 Visual Studio 2017 或更高版本的 gyp ERR!找到VS寻找Visual Studio 2015 gyp ERR!找到 VS - …

visual-studio node.js visual-studio-code npm-install

3
推荐指数
1
解决办法
9960
查看次数