Open 82318179 opened 6 months ago
I have the same problem
I also couldn't find the remote dependency when packing, but it will to be try rebuilt from native dependency; try to rebuild local dependency
electron-rebuild -f -w sqlite3
I was wordless to find that prebuild-install url sqlite3-v5.1.7-napi-v36-win32-x64.tar.gz 404 and i try v36 change v6 at local, it's right!!!
Issue Summary
Script name: postinstall
• electron-builder version=24.13.3 • loaded configuration file=E:\Dev\testdd\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=pl 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.2 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\Admin\AppData\Roaming\npm-cache_prebuilds\69004f-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 out=在此解决方案中一次生成一个项目。若要启用并行生成,请添加“-m”开关。
Steps to Reproduce
1、yarn
Version
5.1.7
Node.js Version
20.12.2
How did you install the library?
yarn