mhaagens / react-mobx-react-router4-boilerplate

React, React-Router 4, MobX and Webpack 2-boilerplate with async routes.
560 stars 137 forks source link

Can't resolve './ui/Activelink' #36

Closed DmitryNoven closed 7 years ago

DmitryNoven commented 7 years ago

Uncaught Error: Cannot find module "./ui/Activelink" When i`m running npm run preview

jgunnison commented 7 years ago

I'm guessing it's due to the "link" part not being uppercase in the import. Just change that to "./ui/ActiveLink" and it should work just fine. Personally I installed case-sensitive-paths-webpack-plugin for my project that started with this boilerplate to catch these issues.

DmitryNoven commented 7 years ago

Thank you). That`s solves this this problem)