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
This is the easiest demo.
In development mode, I can use sqlite3, but after building, After opening the software, an error will be prompted.
I have tried many methods, but there is still no solution.
Relevant logs or output
Uncaught Exception:
Error: Cannot find module '@mapbox/node-pre-gyp'
Require stack:
- /Users/jin/www/test03/dist_electron/mac-arm64/test03.app/Contents/Resources/app.asar/node_modules/sqlite3/lib/sqlite3-binding.js
- /Users/jin/www/test03/dist_electron/mac-arm64/test03.app/Contents/Resources/app.asar/node_modules/sqlite3/lib/sqlite3.js
- /Users/jin/www/test03/dist_electron/mac-arm64/test03.app/Contents/Resources/app.asar/background.js
-
at Module._resolveFilename (internal/modules/cjs/loader.js:887:15)
at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128)
at Module._load (internal/modules/cjs/loader.js:732:27)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Module.require (internal/modules/cjs/loader.js:959:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (/Users/jin/www/test03/dist_electron/mac-arm64/test03.app/Contents/Resources/app.asar/node_modules/sqlite3/lib/sqlite3-binding.js:1:16)
at Module._compile (internal/modules/cjs/loader.js:1078:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10)
at Module.load (internal/modules/cjs/loader.js:935:32)
Version
5.1.6
Node.js Version
16.2
How did you install the library?
no
The text was updated successfully, but these errors were encountered:
…stall`
fixes#1641fixes#1721fixes#1714fixes#1713fixes#1700fixes#1704
- `@mapbox/node-pre-gyp` is effectively unmaintained [1] as has a few bugs
which our users keep running into
- it seems the prebuilt binary world has moved in favor of prebuild +
it's various other forms
- one option would be to use prebuildify to bundle all binaries into the
package, but that's a step too far removed from the current situation
for now
- instead, we can use prebuild-install to download the binaries, and
`prebuild` to build + upload the binaries
- this means we can remove node-pre-gyp and fix a bunch of issues!
[1]: mapbox/node-pre-gyp#657
…stall`
fixes#1641fixes#1721fixes#1714fixes#1713fixes#1700fixes#1704
- `@mapbox/node-pre-gyp` is effectively unmaintained [1] as has a few bugs
which our users keep running into
- it seems the prebuilt binary world has moved in favor of prebuild +
it's various other forms
- one option would be to use prebuildify to bundle all binaries into the
package, but that's a step too far removed from the current situation
for now
- instead, we can use prebuild-install to download the binaries, and
`prebuild` to build + upload the binaries
- this means we can remove node-pre-gyp and fix a bunch of issues!
- eventually, we could start providing electron prebuilt binaries too
[1]: mapbox/node-pre-gyp#657
Issue Summary
Platform: Mac M1 13.5
node.js:16.2.0
package.json
This is the easiest demo.
In development mode, I can use sqlite3, but after building, After opening the software, an error will be prompted.
I have tried many methods, but there is still no solution.
Relevant logs or output
Version
5.1.6
Node.js Version
16.2
How did you install the library?
no
The text was updated successfully, but these errors were encountered: