stylesuxx / generator-react-webpack-redux

React Webpack Generator including Redux support
Other
552 stars 84 forks source link

Cannot read property 'apply' of undefined(…) #49

Closed NicholasMKim closed 7 years ago

NicholasMKim commented 8 years ago

I am getting an 'apply' of undefined error when I run npm run dist like below. This is bit weird it is working fine when npm start but only shows an error when it comes to distribution mode.

compose.js is located at webpack:///../~/redux/es/compose.js

screen shot 2016-10-28 at 1 47 58 pm

My file structure is like below

screen shot 2016-10-28 at 1 48 57 pm

I also edited alias path like below

screen shot 2016-10-28 at 1 49 15 pm

What would be the problem?

stylesuxx commented 7 years ago

Hey, I can not reproduce this. Could you maybe share the project this is happening with? Also please check the newest generator version 1.1.0 and see if that fixes it for you.

stylesuxx commented 7 years ago

Closing this down for lack of activity, feel free to open any time with more information.