mjangir / reactron

A full featured and highly scalable electron-react boilerplate
39 stars 15 forks source link

Starting electron App in prod mode. #1

Open swapnil2993 opened 6 years ago

swapnil2993 commented 6 years ago

I was referring to this link for converting my react-app based on react-boilerplate with latest updates (3.7) version.

I was able to successfully convert my react web app to electron app in dev mode. However I am stuck with step 6 of wiki link. When I execute the start prod command. It just launches the app but with no window. I am new to electron, need help to debug the exact problem.

mjangir commented 6 years ago

What do you mean by no window or it just renders a blank white page? BTW you can post your internals/webpack/webpack.prod.babel.js and internals/webpack/webpack.main.prod.js here.

swapnil2993 commented 6 years ago

It does not render a blank white page ie It does not even launch the window. Just launches the app in dock.

webpack.prod.babel.txt webpack.main.prod.txt

mjangir commented 5 years ago

Everything looks good in those files but can you post the screenshot of your terminal window once you run the commands. Also please share the command you are running.