In React application(17.0.2), After updating webpack version from 4 to 5.58.2, I am getting below error:-
`config.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
383.9f47b6c6525b4d9808d8.js?7e90ac95af08a307e9b7:2 TypeError: (0 , o.X) is not a function
TypeError: (0 , o.X) is not a function
at 913.76620fac6614d6b7db5d.js:2
at Object.useMemo (383.9f47b6c6525b4d9808d8.js:2)
at e.useMemo (913.76620fac6614d6b7db5d.js:2)
at s (913.76620fac6614d6b7db5d.js:2)
at no (383.9f47b6c6525b4d9808d8.js:2)`
Packages: React: 17.0.2 react-dom: 17.0.2 webpack: 5.58.2
Node: 14.8.1
I tried general possible cases like Removing node_modules/package-lock.json reinstalling packages etc and I go through the releated github issues and few of similar error in stackoverflow as well but not getting success.