neoxpert

Results 69 comments of neoxpert

The required NODE_MODULE_VERSION 116 is related to Electron v26. If you want to use better-sqlite3 within an Electron environment, you need to adjust your project so that the required native...

Can you give more information about the project setup (package.json, run scripts ..) or a minimal reproducible example? Node NODE_MODULE_VERSION 116 is tied to Electron v25 / v26. It looks...

Well .. VS Code is an Electron based application. If your project is loaded within the context of a VS Code plugin or something like that, the native modules have...

Is this still relevant? There has been no reaction for 10 months.

I don't have slow install times for better-sqlite3 in my projects. Which NodeJS / Electron version are you using / targetting, have you checked if there is a recompile happening?

It is supported, yes. Otherwise the compilation would fail anyway. But right now there is no prebuilt binary for the use in NodeJS on arm64, only for Electron. There is...

As you are using pnpm, do you have node-gyp installed for it (`pnpm install -g node-gyp`)? Might be the same issue as in https://github.com/WiseLibs/better-sqlite3/issues/1027.

When better-sqlite3 get's recompiled everytime you are either using a runtime where no prebuilt binary is available or something in the toolchain (pnpm, prebuild-install .. ) resolves the wrong architecture...

Have you tried [instanceof](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/instanceof)?

To my knowledge that would be the best that you can get as the problem is not related to better-sqlite3 but the used programming language and runtime environment we are...