Closed ChasNelson1990 closed 1 year ago
I've run yarn electron-build
and got the following error:
mix@mixbook ~/repos/bahis-desk feat-api-app-version yarn electron .
yarn run v1.22.18
$ /Users/mix/repos/bahis-desk/node_modules/.bin/electron .
App threw an error during load
Error: Cannot find module './constants'
Require stack:
- /Users/mix/repos/bahis-desk/public/modules/syncFunctions.js
- /Users/mix/repos/bahis-desk/public/electron.js
- /Users/mix/repos/bahis-desk/node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar/main.js
removed ./dist
, and built electron, the error persists
Description
All electron-based API calls now include
bahis_desk_app=${APP_VERSION}
where theAPP_VERSION
will match that in package.json.closes #47 required for road86/bahis-serve#11
Checklist