renato-rg / electron-react-webpack

Electron + React 16 + Webpack 4 template with ES6, JSX and hot reloading.
230 stars 52 forks source link

ERR_FILE_NOT_FOUND bundle (.css & .js) #3

Closed mumairofficial closed 6 years ago

mumairofficial commented 7 years ago

Hi,

After following all steps to setup and upon npm start dev also tried yarn start dev getting error in console.

// symbol <...> to hide long path string
GET <...>/electron-react-webpack/app/build/bundle.css net::ERR_FILE_NOT_FOUND
GET <...>/electron-react-webpack/app/build/bundle.js net::ERR_FILE_NOT_FOUND

Can you please suggest any resolution?

renato-rg commented 7 years ago

@mumairofficial I'm not able to reproduce such error. I followed the install and usage steps and it worked.

In usage section, the commands are not the ones the triggered such error but npm run dev and npm start, have you tried them? Does it work now?

mumairofficial commented 7 years ago

okay I got this; problem was whn I run npm start expecting following both commands will work with single one.

We should configure both command in single with watch mode :-)

renato-rg commented 6 years ago

Fixed in 083aa77c6396fca17b676546c7ebded9696d44c8 by @konsumer under PR #4. Now it builds and serve with a npm start only.