tahnik / electron-react

A simple and compact boilerplate for electron and react (redux, router)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in: npm run dev

Lypzis opened this issue · 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.

commented

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

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

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?

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