Uncaught TypeError: Cannot read property 'call' of undefined

Anyone of you bumped into this error lately? https://github.com/webpack/webpack/issues/959

It appeared out of nowhere all of a sudden (didn’t change any code). Only happens on staging & production, not during watch and not on all pages.

All of the suggestions in the thread are either not applicable or didn’t help. I’m not using any of the DedupePlugin, OccurrenceOrderPlugin or CommonsChunkPlugin?

I’m using Sage 9.0.0 with Webpack 1.12.14. Updateing to Webpack 1.13.1 didn’t help either.

Any suggestions?

Never mind, turned out to be a (of-course) caching issue in my dist folder…

Hey @Twansparant ,

How did you fix that? I’m getting error Uncaught TypeError: Cannot read property 'style' of undefined once in a while so it seems to be same issue what you had.

I’m using Materialize css instead of Bootstrap, and the error comes when using carousel component.

Hi, it turned out to be not code related, but due to an ftp upload that didn’t overwrite my whole dist folder.