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
Unable to install sqlite3 #1748
Comments
But I'm going to modify the ` node_ In modules/sqlite3/package. json ',' binary ': {' napi_versions': [3,6]} 'is' binary': {'napi_versions': [6]}', which can be processed |
I also encountered the same problem. Do you know how to solve it? thanks |
I've conducted tests and discovered that the issue began with version 5.1.7 of sqlite3. To temporarily resolve this, you can specify version 5.1.6 in your "dependencies": {
"sqlite3": "5.1.6"
} This should bypass the issue until a permanent fix is implemented. |
Thank you very much. Your plan has solved the troubles that have troubled me for a few days at once |
I'm having the same issue with v5.1.7:
which should be looking for sqlite3-v5.1.7-napi-v6-win32-x64.tar.gz Will pin to version v5.1.6 for now, but would love to make use of the improved bundling! |
+1 |
…e of a build error related to trying to use a non-existing N-APi version napi v36 (see TryGhost/node-sqlite3#1748 and TryGhost/node-sqlite3#1746)
+1 with sqlite3 5.1.7 Confirmed it works when locking 5.1.6 |
it doesn't work for me since |
It worked for me, thank you very much.
|
Issue Summary
I am using the Win11 operating system and I want to integrate SQLITE3 into Electron, but it cannot be compiled and installed in node 18.18.2. Strangely, he will search for it link
However, this address does not exist
Relevant logs or output
• electron-builder version=24.9.1
• loaded configuration file=H:\Code\WebstormProjects\electron-app\electron-builder.yml
• rebuilding native dependencies dependencies=sqlite3@5.1.7 platform=win32 arch=x64
• install prebuilt binary name=sqlite3 version=5.1.7 platform=win32 arch=x64 napi=
• build native dependency from sources name=sqlite3
version=5.1.7
platform=win32
arch=x64
napi=
reason=prebuild-install failed with error (run with env DEBUG=electron-builder to get more information)
error=prebuild-install info begin Prebuild-install version 7.1.1
prebuild-install warn This package does not support N-API version 36
prebuild-install warn install prebuilt binaries enforced with --force!
prebuild-install warn install prebuilt binaries may be out of date!
prebuild-install info looking for local prebuild @ prebuilds\sqlite3-v5.1.7-napi-v36-win32-x64.tar.gz
prebuild-install info looking for cached prebuild @ C:\Users\Letudou\AppData\Roaming\npm-cache_prebuilds\9aa761-sqlite3-v5.1.7-napi-v36-win32-x64.tar.gz
prebuild-install http request GET https://github.com/TryGhost/node-sqlite3/releases/download/v5.1.7/sqlite3-v5.1.7-napi-v36-win32-x64.tar.gz
prebuild-install http 404 https://github.com/TryGhost/node-sqlite3/releases/download/v5.1.7/sqlite3-v5.1.7-napi-v36-win32-x64.tar.gz
prebuild-install warn install No prebuilt binaries found (target=36 runtime=napi arch=x64 libc= platform=win32)
• rebuilding native dependency name=sqlite3 version=5.1.7
⨯ cannot execute cause=exit status 1
$ prebuild-install -r napi || node-gyp rebuild
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Version
5.1.7
Node.js Version
18.18.2
How did you install the library?
yarn add sqlite3
The text was updated successfully, but these errors were encountered: