dvdzkwsk / react-redux-starter-kit

Get started with React, Redux, and React-Router.
MIT License
10.29k stars 2.2k forks source link

__webpack_hmr 404 (Not Found) #1239

Closed kanzuki closed 7 years ago

kanzuki commented 7 years ago

Sorry, extremely new here to everything. Everything's working fine in localhost:3000, but once I run 'npm run compile' and uploaded the files under /dist folder into a directory in a ftp server, the message "__webpack_hmr 404 (Not Found)" keeps appearing several times inside the console. Not only that, it seems the routes are no longer working - which is probably associated with this error. Any idea what I might be doing wrong?

dvdzkwsk commented 7 years ago

Try running npm run deploy:prod and serving those files. If you compile the application to disk in development mode, it will be configured to look for HMR code. This should probably be better than it is, but it's a simple fix regardless.

kanzuki commented 7 years ago

Run into a few es lint problems but got that fixed. Works like a charm, thank you so much!! Especially for this starter kit - awesome work!!!