opencredo / opencredo-react-boilerplate

https://opencredo.com/blogs/react-redux-boilerplate/
MIT License
64 stars 20 forks source link

Unable to browse site #85

Open JonWallsten opened 8 years ago

JonWallsten commented 8 years ago

After following all the instructions and browsing to localhost:3000 i get this:

Cannot GET /

I also get errors in webpack:

ERROR in ./src/styles/app.scss
Module parse failed: C:\Users\*****\Downloads\opencredo-react-boilerplate-master\opencredo-react-boilerplate-master\src\styles\app.scss Unexpected character '@' (1:0)
You may need an appropriate loader to handle this file type.
mcalthrop commented 8 years ago

Hi @JonWallsten

Apologies for the late reply... maybe you are getting the error because of this line in webpack.config.js: https://github.com/opencredo/opencredo-react-boilerplate/blob/master/webpack.config.js#L81

Could you please try changing /src\/(?!styles).+/ to just /src.+/?

We don't have a Windows machine to test on, so it would be really helpful if you could let us know if this works.

Thanks in advance!

pablos4nt0s commented 8 years ago

You're right! I did this trick and it's worked on a Win10!

Thank you!