You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 1, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 1, 2026. It is now read-only.
Greetings for our vscode extension we are using sqlite3. We build our extension on windows but since sqlite3 relies on native binaries it fails on macOS. We have raised a report with sqltools vscode extension as their tool sucessfully workS on windows macOS and other environments. It seems when we use sql tools it complies to work for the OS the program was built on therefore once deployed macOS users get an error
Relevant logs or output
mainThreadExtensionService.ts:107 Activating extension 'windmillcode-publisher-0.lib-tracker' failed:
dlopen(/[REDACTED]/.vscode/extensions/windmillcode-publisher-0.lib-tracker-1.100.1000/node_modules/sqlite3/build/Release/node_sqlite3.node, 0x0001): tried: '/[REDACTED]/.vscode/extensions/windmillcode-publisher-0.lib-tracker-1.100.1000/node_modules/sqlite3/build/Release/node_sqlite3.node' (slice is not valid mach-o file), '/System/Volumes/Preboot/Cryptexes/OS/[REDACTED]/.vscode/extensions/windmillcode-publisher-0.lib-tracker-1.100.1000/node_modules/sqlite3/build/Release/node_sqlite3.node' (no such file), '/[REDACTED]/.vscode/extensions/windmillcode-publisher-0.lib-tracker-1.100.1000/node_modules/sqlite3/build/Release/node_sqlite3.node' (slice is not valid mach-o file).
There are prebuilts .node files published for each platform (linux, macos, windows etc).
Based on the file paths build/Release/node_sqlite3.node you seem to be shipping only the Windows build, you'll need to either revert back to using & shipping all the prebuilts. Or provide your own prebuilts for each platform & architecture.
Activity
kewde commentedon May 16, 2025
There are prebuilts .node files published for each platform (linux, macos, windows etc).
Based on the file paths
build/Release/node_sqlite3.nodeyou seem to be shipping only the Windows build, you'll need to either revert back to using & shipping all the prebuilts. Or provide your own prebuilts for each platform & architecture.i-can-code-this commentedon May 16, 2025
I am aware of that how do I go about doing that is the question