lodash / lodash-webpack-plugin

Smaller modular Lodash builds.
Other
1.19k stars 63 forks source link

Uncaught TypeError: Cannot read property 'length' of undefined #160

Closed tejash-jl closed 5 years ago

tejash-jl commented 5 years ago

After using this plugin, I'm getting this error.

Uncaught TypeError: Cannot read property 'length' of undefined
    at wrapper (_createWrap.js?e93d:28)
    at ProxyComponent.updateGraph (index.js?288b:272)
    at ProxyComponent.updateGraph (react-hot-loader.development.js?c2cb:693)
    at ProxyComponent.componentDidMount (index.js?288b:108)
    at ProxyComponent.componentDidMount (react-hot-loader.development.js?c2cb:683)
    at commitLifeCycles (react-dom.development.js?61bb:16227)
    at commitAllLifeCycles (react-dom.development.js?61bb:17592)
    at HTMLUnknownElement.callCallback (react-dom.development.js?61bb:149)
    at HTMLUnknownElement.t ((index):8)
    at Object.invokeGuardedCallbackDev (react-dom.development.js?61bb:199)
jdalton commented 5 years ago

Hi @tejashjl1020!

This plugin removes core Lodash functionality. Try to ease into this plugins use. Start by enabling all feature-sets and disabling them one by one until tests break.