You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Windows 11下安装Node.js版Vosk遇ffi-napi问题求助

Node-gyp 安装失败,多种常规方法无效

我尝试了下述几种常见解决方法,但问题仍未解决:

  • npm install --global windows-build-tools 命令无法正常使用
  • 切换至Python 2.7版本,清理npm缓存后重新执行 npm install
  • 完全卸载并重装Node.js

以下是部分错误日志:

164 error gyp info it worked if it ends with ok
164 error gyp info using node-gyp@10.0.1
164 error gyp info using node@20.9.0 | win32 | x64
164 error gyp info find Python using Python version 3.12.0 found at "C:\Users\Harvestworks\AppData\Local\Programs\Python\Python312\python.exe"
164 error gyp info find VS using VS2022 (17.7.34221.43) found at:
164 error gyp info find VS "C:\Program Files\Microsoft Visual Studio\2022\Community"
164 error gyp info find VS run with --verbose for detailed information

完整错误日志可提供详细内容,恳请各位提供可行的解决方案。

内容的提问来源于stack exchange,提问作者Tansy

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.06 10:17:37