Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing white screen issue after production build. #514

Open
imrulkayessifat opened this issue Jan 7, 2025 · 0 comments
Open

Facing white screen issue after production build. #514

imrulkayessifat opened this issue Jan 7, 2025 · 0 comments

Comments

@imrulkayessifat
Copy link

After building the app using electron- builder, the app seems to have a white screen.
Screenshot from 2025-01-07 12-30-15
In logs, it shows : UnhandledPromiseRejectionWarning: Error: ERR_INVALID_URL (-300) loading 'http://localhost:undefined/home'
at rejectAndCleanup (node:electron/js2c/browser_init:2:79183)
at finishListener (node:electron/js2c/browser_init:2:79345)
at WebContents.failListener (node:electron/js2c/browser_init:2:79631)
at WebContents.emit (node:events:519:28)
at _.loadURL (node:electron/js2c/browser_init:2:80533)
at n.loadURL (node:electron/js2c/browser_init:2:13581)
at App. (/tmp/.mount_Staff QYAkX0/resources/app.asar/app/background.js:12542:22)
at App.emit (node:events:531:35)
(Use staff-time-tracker --trace-warnings ... to show where the warning was created)
[2025-01-07 12:27:30.994] [error] (node:160044)

package.json :
Screenshot from 2025-01-07 12-34-35
electron-builder.yml :
Screenshot from 2025-01-07 12-36-27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant