White Blank Screen On Installing the Packaged App Built with React #496
Replies: 1 comment
-
My problem was solved by replacing the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've created an application using React, and it functions well during development when I execute
npm run dev
— the React UI loads smoothly, and the application behaves as intended. However, upon runningnpm run build
ornpm run build:win
, the application undergoes compilation and is sent to thedist/
directory. On installing and launching, the UI, which is built using React, fails to load. There are no errors in the console, however a console message is logged onto the console saying "Preload.js executed succesfuly", which as expected is coming from the preload/index.js file for debugging reasons.I suspect there are issues with the code compilation or a disconnected link between the build folder and the application. Could you please assist me in resolving this issue? Is there something, I'm missing?
Below is the build section excerpt from my package.json:
Beta Was this translation helpful? Give feedback.
All reactions