-
https://github.com/node-ffi/node-ffi
-
背景
- electron
- electron无法正常构建ffi-napi(社区共有的问题),所以用的是第三方改好的包@lwahonen/ffi-napi
- win32-api包用的是ffi-napi,所以electron项目用不了
需求
- 如何解决这个情况
我的想法
- 通过webpack那ffi-napi替换成@lwahonen/ffi-napi,我试了webp…
xmsz updated
2 months ago
-
electron中使用node-ffi问题:
1、这个项目太老了。NODE_MODULE_VERSION只支持到64,超过编译就报错,不管是node-gyp或者electron rebuild。
也就是说只要nodejs超过v12,则node-ffi编译就会报错,提示各种函数类型参数等不正确,只能node
-
How to install plugin?
USER: homebridge
DIR: /volume2/homebridge
CMD: npm install --save homebridge-plugin-samsung-air-conditioner@3.1.0
[##################] - reify:ffi-napi: timing reifyNode…
-
Recently, the package was [criticized on Twitter](https://twitter.com/da_wamwoowam/status/1824872498363523537) as a dependency of the Discord native app for unnecessarily many invocations of Powershel…
-
https://github.com/zhangyuang/node-ffi-rs
Hi, there a is a module named [ffi-rs](https://github.com/zhangyuang/node-ffi-rs) written in Rust and N-API that provides FFI (Foreign Function Interface) fe…
-
Does anyone know, is this project being maintained or is it effectively dead? Is there a fork anyone knows of that is being actively updated? node-ffi is the only thing hold me back from moving my a…
-
Version: Deno 1.45.5
When using the `--watch` or `--unstable-hmr` flag on a script which uses the bcrypt NPM package, bcrypt fails to import after restart.
```sh
npm init -y
npm i bcrypt @type…
-
@TooTallNate ,
I have two shared library one is for my C code and one is for my CPP code. My whole logic is written in the CPP code and C is just a wrapper over CPP. In other words, my C shared libra…
-
When trying to generate FFI bindings for libfuse:
```
> 50 | types.["fuse_args"] = fuse_args;
| ^
51 | types.["fuse_opt_proc_t"] = fuse_opt_proc_t;
52 | types.["js_CString"] = js…