electron-react icon indicating copy to clipboard operation
electron-react copied to clipboard

Error in: npm run dev

Open Lypzis opened this issue 6 years ago • 4 comments

page is blank and in console:

app.bundle.js Failed to load resource: net::ERR_CONNECTION_REFUSED webpack-dev-server.js Failed to load resource: net::ERR_CONNECTION_REFUSED

I've just cloned and runned npm install.

Lypzis avatar Mar 06 '18 18:03 Lypzis

Im getting this as well, a quick refresh gets it working but it would be annoying to have to do that every time.

liberaltech avatar Mar 29 '18 18:03 liberaltech

Adding "webpack-sources": "1.0.1" to dev dependencies in package.json fixed this for me.

Ferigit avatar Apr 18 '18 10:04 Ferigit

Got the same issue (Debian Jessie, 64-Bit, Node v10.4.1). Refreshing solves the issue temporarily (adding "webpack-sources": "1.0.1" seemed to have gotten rid of it for good, but it came back @Ferigit).

Does anyone have a real solution to this problem?

sourcepark-smatyba avatar Jun 27 '18 11:06 sourcepark-smatyba

maybe try waiting a few seconds before loading the resources... that seems to be the problem, is that webpack takes longer to build than electron takes to launch the app

LizAinslie avatar Oct 26 '19 16:10 LizAinslie