Building to a blank screen
See original GitHub issue- Version: 13.11.1
- Target: Linux (AppImage)
I am trying to add electron builder to the vuepack project I have the following scripts:
"scripts": {
"src:build": "webpack --config build/webpack.prod.js",
"src:dev": "node build/server.js",
"app:pack": "cd app && USE_SYSTEM_XORRISO=true build --dir",
"app:build": "cd app && USE_SYSTEM_XORRISO=true build",
"app:dev": "cross-env NODE_ENV=development electron app/"
},
Now if I run npm run src:dev
and npm run app:dev
everything runs fine, however if I run npm run src:build
and npm run app:build
and run the AppImage
it starts but just renders with a white screen.
I have had to create a second package.json
in the app/
directory based of this issue which seems to at least let the app build.
I also read through this issue on electron-packager
but I couldn’t make a lot of sense of it.
Is there anything I can do to better debug this issue? Thanks in advance!
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Blank screen is shown when building with compile errors
Issue is gone after reinstallation of Visual Studio. Build errors window wasn't docked and it was opened to full size of VS main...
Read more >New build blank screen - PCPartPicker
New build blank screen ... Spent the whole day building my new pc just to find out it doesn't work. Rebuilt it a...
Read more >[SOLVED] - New build everything works but black screen
The monitor does recognize there is a signal, but I just get a black screen. When I boot with everything disconnected except the...
Read more >Blank page after running build on create-react-app
Run npm run eject · Edit file webpack.config in the config folder · Find path with "static/" or "static/js/" or "static/css/" in the...
Read more >Black screen after building - I'm Stuck - Lightship Community
Black screen after building · Issue category: Finished build; Camera · Device type & OS version: Android 11 · Host machine & OS...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
try this :
same issue here, but only works when
mainWindow.webContents.openDevTools()
is called, at the moment that I commentmainWindow.webContents.openDevTools()
the app start showing in blank again, and DevTools is not showing any errors 😕