scalable-react / scalable-react-boilerplate

:star: Scalable feature-first React micro-framework made for Udacity Alumni collaborative projects
https://scalable-react-boilerplate.herokuapp.com/
MIT License
259 stars 56 forks source link

Deploy fails "Element from loaders list with objects should have a 'loader' specified" #70

Closed Thefly75 closed 7 years ago

Thefly75 commented 7 years ago

First of all, thanks for your work, awesome boilerplate!

But I can't run the deploy script. Even with a fresh and new clone, the deploy script fails with:

Element from loaders list with objects should have a 'loader' specified

Most likely the "ExtractTextPlugin" config part is causing this.

I tried different webpack and ExtractTextPlugin versions, without any luck.

RyanCCollins commented 7 years ago

Hey @Thefly75, this error popped up with a recent release of Extract text it looks like. I've reverted it to the version that was compatible with the webpack version we are using here.

"extract-text-webpack-plugin": "v2.0.0-beta.4",

Please try that out and let me know how it goes. You can pull from master to get these changes.

Thefly75 commented 7 years ago

Thanks @RyanCCollins ! That really did the trick. All good now, thanks for the fast response!

RyanCCollins commented 7 years ago

My pleasure! Good to hear. Feel free to reopen if you have any more difficulties!