Hello,
I dont know what this is or how can I fix it.
Uncaught TypeError: deepEqual is not a function
at reconcileConfiguration (eval at hmrApply (..\node_modules\lodash-es\_objectToString.js:22), <
anonymous
>:27:10)
at Grid.componentWillReceiveProps (eval at hmrApply (..\node_modules\lodash-es\_objectToString.js:22), <
anonymous
>:83:42)
at callComponentWillReceiveProps (..\node_modules\lodash\lodash.js:6411)
at updateClassInstance (..\node_modules\lodash\lodash.js:6603)
at updateClassComponent (..\node_modules\lodash\lodash.js:8035)
at beginWork (..\node_modules\lodash\lodash.js:8706)
at performUnitOfWork (..\node_modules\lodash\lodash.js:10742)
at workLoop (..\node_modules\lodash\lodash.js:10781)
at HTMLUnknownElement.callCallback (..\..\..\..\..\Users\x\AppData\Roaming\npm\node_modules\parcel-bundler\node_modules\buffer\index.js:1790)
at Object.invokeGuardedCallbackDev (..\..\..\..\..\Users\x\AppData\Roaming\npm\node_modules\parcel-bundler\node_modules\buffer\index.js:1790)
I don't know when it happen or why.
I tried to replicate the bug , but without any success.
It happen when render the Grid component of "@progress/kendo-grid-react-wrapper"
The error make reference to lodash, but I don't us it in the GridContainer component.
I have no clue what is happening.
Regards,
Vincent.
6 Answers, 1 is accepted
This sounds like a similar issue reported to us before. There is a workaround also provided inside the report:
https://github.com/telerik/kendo-ui-core/issues/3893
This seems like an issue with the module loading and its most likely not connected directly related to the Kendo UI for React library.
Still, if the workaround does not work, please try to replicate the issue and we will further investigate the main reason for it.
Regards,
Stefan
Progress Telerik
Hello,
The Issue reside in the file.
In this file, the deepEqual is imported this way :
import * as deepEqual from
'deep-equal'
;
We just need to import deepEqual like this
import deepEqual from
'deep-equal'
;
And that resolve the issue.
Or you can replace :
if
(!deepEqual(oldConfiguration, newConfiguration, { strict:
true
})) {
// some stuff
}
by
if
(!deepEqual.
default
(oldConfiguration, newConfiguration, { strict:
true
})) {
// some stuff
}
Like said in the workaround.
But the issue still remain in this file.
Regard.
VIncent
Thank you for the clarification.
I will test if changing the import we not cause other issues and if not I will update the official file, so workaround like this will not be needed.
I also added Telerik point to your account for sharing this information with us, it is highly appreciated.
Regards,
Stefan
Progress Telerik
Hi Stevan,
I have to say that the wrappers are deprecated and there is no active development for them.
With the above in mind, we would recommend that you either try the suggestions for resolving the issue in this post and the logged issuer or switch the to natice KendoReact components instead.
Hi Stevan,
The KendoReact components are entirely different product and we do not have documentation on how to switch from one to another. Nevertheless, you can use our documentation for the KendoReact components for the implementation and detailed information on the available functionality:
Hope this helps.