-
-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deno support - Uncaught Error: Could not locate the bindings file. #1034
Comments
Even if deno would run npm packages, like bindings, correctly, I doubt that it can load native modules compiled for NodeJS. |
Apparently it can denoland/deno#18444 denoland/deno#15717 But this is not a better-sqlite3 issue, it's on Deno to make it compatible if they want that. |
It doesn't work win Bun 1.0 either. Same error here:
|
Which prebuilt binary did you download? Also note that Bun still does not support the full Node API which may lead to issues anyway support overview. |
We are moving to bun 1.0, it appears to work |
bun has a native sqlite adapter. this project is cited as it’s inspiration |
You can use .node (Node-API modules) in both Deno and Bun, but you cannot do I have tried this on both Deno and Bun with my |
if i try to put the .node dynamic lib from: Dependency walker on better_sqlite3.node shows an unresolved dependency "node.exe" Or for some reason node-gyp win_delay_load_hook Is disabled? Related? |
I solved it by installing |
Adds support for `npm:bindings` and `npm:callsites` packages because of changes in denoland/deno_core#838. This `deno_core` bump causes us to stop prepending `file://` scheme for locations in stack traces that are for local files. Fixes #24462 , fixes #22671 , fixes #15717 , fixes #19130 , fixes WiseLibs/better-sqlite3#1205 , fixes WiseLibs/better-sqlite3#1034 , fixes #20936 --------- Co-authored-by: Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com>
Adds support for `npm:bindings` and `npm:callsites` packages because of changes in denoland/deno_core#838. This `deno_core` bump causes us to stop prepending `file://` scheme for locations in stack traces that are for local files. Fixes #24462 , fixes #22671 , fixes #15717 , fixes #19130 , fixes WiseLibs/better-sqlite3#1205 , fixes WiseLibs/better-sqlite3#1034 , fixes #20936 --------- Co-authored-by: Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com>
Tried to use with deno
The text was updated successfully, but these errors were encountered: