Switching from using version.js to get electron-prebuilt version to using the version directly from package.json, and using $npm_package_devDependencies_electron_prebuilt for npm run rebuild-leveldb. To this end electron-prebuilt version should be locked to a specific version (no ~ or ^).
Switching from using
version.js
to get electron-prebuilt version to using the version directly frompackage.json
, and using$npm_package_devDependencies_electron_prebuilt
fornpm run rebuild-leveldb
. To this end electron-prebuilt version should be locked to a specific version (no~
or^
).Tested locally, no errors.