Closed rosendolu closed 11 months ago
Rebuilding is not necessary, because classic-level
includes prebuilt binaries that work for both node and electron. There should be a flag in electron-forge to skip rebuilding, check the docs.
Rebuilding is not necessary, because
classic-level
includes prebuilt binaries that work for both node and electron. There should be a flag in electron-forge to skip rebuilding, check the docs.
Thanks , after read the docs, I add a conf at forge.config.js
rebuildConfig: {
onlyModules: [],
},
It works.Though occurs another error unrelated to classic-level
After a few tries, I soved the problem;It has nothing wrong about classic-level
,instead my forge.config.js
;
Before
packagerConfig: {
ignore: [/logs/,/temp/,/cache/], // what i set before
},
After
packagerConfig: {
ignore: [/logs/], // what i set after
},
The regular expressions are matched against the absolute path of a given file/directory to be copied..
Awkward,i just ignored
the corresponding file !!!
problem
I am using level as my local db server ,when pack my electron app ,I got this error and could not fix it . I tried using a different version of electron ,but still the same
env
node version
v18.15.0
electron abi116
electron versionv25.8.1
classic-level1.3.0
deps