相关疑难解决方法(0)

我该如何解决错误 gypgyp ERR!ERR! find VSfind VS msvs_version 未从命令行或 npm 配置设置?

我想运行这个项目:https : //github.com/adonis-china/adonis-adminify

当我运行时npm install,存在错误:

> sqlite3@3.1.13 install C:\laragon\www\adonis-admin\node_modules\sqlite3
> node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v64-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.13 and node@10.15.0 (node-v64 ABI) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Tried to download(undefined): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v64-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.13 and node@10.15.0 (node-v64 ABI) (falling back to source compile with node-gyp)
gyp ERR! gypfind VS
 gyp ERR!ERR!  find VSfind VS
 msvs_version not set from command …
Run Code Online (Sandbox Code Playgroud)

sqlite node.js npm vue.js adonis.js

59
推荐指数
8
解决办法
9万
查看次数

npm 错误!吉普 错误!发现 VS msvs_version 未从命令行或 npm config 设置

当我运行 npm install 时,新版本面临同样的问题,请任何人帮忙。我已经安装了 vs 2017 和 2022 并且还尝试了 npm config set msvs_version 2022

    gyp ERR! find VS 
gyp ERR! find VS msvs_version not set from command line or npm config 
gyp ERR! find VS running in VS Command Prompt, installation path is:  
gyp ERR! find VS "C:\Program Files (x86)\Microsoft Visual Studio\2022"
gyp ERR! find VS - will only use this version
gyp ERR! find VS checking VS2022 (17.2.32519.379) found at:
gyp ERR! find VS "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools" …
Run Code Online (Sandbox Code Playgroud)

msbuild visual-studio node.js npm-install

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

node.js ×2

adonis.js ×1

msbuild ×1

npm ×1

npm-install ×1

sqlite ×1

visual-studio ×1

vue.js ×1