deno
deno copied to clipboard
undefined symbol: node_module_register
What version of Deno is running?
1.42.2
What platform is your computer?
Linux 6.8.9-arch1-1 x86_64 unknown
What steps can reproduce the bug?
- Put
import gi from "node-gtk";into a JS fileapp.js - Run
deno run --allow-all app.js
What is the expected behavior?
Deno should run without an error.
What do you see instead?
deno: symbol lookup error: /home/blue/test-native/node_modules/.deno/[email protected]/node_modules/node-gtk/lib/binding/node-v108-linux-x64/node_gtk.node: undefined symbol: node_module_register
I'm also seeing this issue.
node-gtk is using APIs which are not supported as part of the Node-API: https://nodejs.org/api/n-api.html#implications-of-abi-stability
You could try your luck with this Deno port of GTK https://github.com/ahgilak/deno_gi