You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am basically trying to get react-hot-loader working within Electron. Each time I edit the app.jsx file I get the following error: GET file:///D:/static/adf5c4b76bacb23d7c36.hot-update.json net::ERR_FILE_NOT_FOUND
Looks like it tries to load the file from my hard drive instead of loading it from the dev server. The error is followed by this message:
[HMR] Update failed: Error: Manifest request to /static/adf5c4b76bacb23d7c36.hot-update.json timed out.
at XMLHttpRequest.request.onreadystatechange (http://localhost:3000/static/bundle.js:38:22)
importReactfrom'react';importReactDOMfrom'react-dom';import{AppContainer}from'react-hot-loader';importAppfrom'./js/components/app';// the element used to inject react at runtimeconstelement=document.getElementById('root');// a simple replacer function used to inject components at runtimeconstrender=Component=>{ReactDOM.render(<AppContainer><Component/></AppContainer>,element);};// first application render callrender(App);// hot module reload logicif(module.hot){module.hot.accept('./js/components/app',()=>{render(App);});}
I am really new to the whole JS environment and seeing all my attemps fail is quite frustrating :( Any help is appreciated.
The text was updated successfully, but these errors were encountered:
I am basically trying to get react-hot-loader working within Electron. Each time I edit the app.jsx file I get the following error:
GET file:///D:/static/adf5c4b76bacb23d7c36.hot-update.json net::ERR_FILE_NOT_FOUND
Looks like it tries to load the file from my hard drive instead of loading it from the dev server. The error is followed by this message:
Here is my webpack 2 config file
index.jsx
I am really new to the whole JS environment and seeing all my attemps fail is quite frustrating :( Any help is appreciated.
The text was updated successfully, but these errors were encountered: