close

[Solved] Uncaught TypeError: Cannot read property ‘call’ of undefined at __webpack_require__

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Uncaught TypeError: Cannot read property ‘call’ of undefined at webpack_require in reactjs. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How To Solve Uncaught TypeError: Cannot read property ‘call’ of undefined at webpack_require Error ?

  1. How To Solve Uncaught TypeError: Cannot read property 'call' of undefined at webpack_require Error?

    To Solve Uncaught TypeError: Cannot read property 'call' of undefined at webpack_require Error in your module.exports, the optimization of the object should be edited as given below.

  2. Uncaught TypeError: Cannot read property 'call' of undefined at webpack_require

    To Solve Uncaught TypeError: Cannot read property 'call' of undefined at webpack_require Error in your module.exports, the optimization of the object should be edited as given below.

Solution 1

in your module.exports, the optimization of the object should be edited as given below.

optimization: {
    minimize: true,
    namedModules: true,
    namedChunks: true,
    removeAvailableModules: true,
    flagIncludedChunks: true,
    occurrenceOrder: false,
    usedExports: true,
    concatenateModules: true,
    sideEffects: false, // <----- in prod defaults to true if left blank
}

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read

Leave a Comment