Why network requests in production build are still pending?


#1

Hello,

I’m using electron-webpack and electron-builder. When I run my app on the dev environment, everything just works fine.
But when I run my production build, I have a white screen which is caused by a pending network request in the of the HTML. If I remove that line, <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">, my page loads but then, all my other network requests that are not querying file:/// do not work. It’s all in “pending” state.

I have no log with process.on('uncaughtException') nor process.on('unhandledRejection')

I don’t know what to do… Do you have an idea ?
Thanks


#2

No way. I’m ashamed.
My proxy settings were not valid anymore.