gpt4 book ai didi

Node.js - 找不到绑定(bind)文件

转载 作者:搜寻专家 更新时间:2023-10-31 22:49:41 24 4
gpt4 key购买 nike

我试图在我的 Windows 7 PC 上使用 Nodejs v6.2.0 运行 node-ffi 应用程序,但它崩溃并出现以下错误。尝试了多种方法,都没有解决我的问题

   E:\iwork\workbase\myapp\node_modules\bindings\bindings.js:91 Uncaught Error: Could not locate the bindings file. Tried:
→ E:\iwork\workbase\myapp\node_modules\ref\build\binding.node
→ E:\iwork\workbase\myapp\node_modules\ref\build\Debug\binding.node
→ E:\iwork\workbase\myapp\node_modules\ref\build\Release\binding.node
→ E:\iwork\workbase\myapp\node_modules\ref\out\Debug\binding.node
→ E:\iwork\workbase\myapp\node_modules\ref\Debug\binding.node
→ E:\iwork\workbase\myapp\node_modules\ref\out\Release\binding.node
→ E:\iwork\workbase\myapp\node_modules\ref\Release\binding.node
→ E:\iwork\workbase\myapp\node_modules\ref\build\default\binding.node
→ E:\iwork\workbase\myapp\node_modules\ref\compiled\6.1.0\win32\ia32\binding.node

最佳答案

尝试安装模块:

npm install bindings --save
npm install

重新启动应用。

更多信息请访问 https://github.com/TooTallNate/node-bindings

关于Node.js - 找不到绑定(bind)文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37458918/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com