Application entry file "build/electron.js" in the "/home/thorakmedichi/Development/Projects/stormfree/day-tracer/dist/linux-unpacked/resources/app.asar" does not exist. Seems like a wrong configuration.
at error (/home/thorakmedichi/Development/Projects/stormfree/day-tracer/node_modules/app-builder-lib/out/asar/asarFileChecker.js:44:14)
An electron app that works, dev or production.
{
"name": "testing",
"version": "0.1.12",
"author": "thorakmedichi",
"main": "./index.electron.js",
"homepage": "./",
"scripts": {
"android": "./node_modules/.bin/react-native run-android",
"ios": "./node_modules/.bin/react-native run-ios",
"web": "node scripts/start.js",
"build": "node scripts/build.js",
"lint": "eslint . --ext .js",
"electron-dev": "concurrently \"BROWSER=none yarn react-scripts start\" \"wait-on http://localhost:3000 && electron .\"",
"electron-pack": "build -c.extraMetadata.main=build/electron.js",
"electron-build": "electron-builder",
"preelectron-pack": "yarn build",
},
"build": {
"appId": "com.example.electron-cra",
"files": [
"build/**/*",
"node_modules/**/*",
"public/*",
"./index.electron.js"
],
"directories": {
"buildResources": "assets"
}
},
....etc
Step 2: Describe your environment
Step 3: Describe the problem (try to include screenshots):
Running
yarn electron-builderproduces my AppImage but the screen is blankRunning
yarn electron-pack(yarn build -c.extraMetadata.main=build/electron.js) errors out with a ton of errors. Top of the list isAm I missing something not outlined in your documentation?
Expected Results:
An electron app that works, dev or production.
package.json