null & undefined in react build
Getting an error on react build
 console.log

utils.js:48 Uncaught TypeError: Cannot convert undefined or null to object
    at Function.getPrototypeOf (<anonymous>)
    at Object.<anonymous> (utils.js:48)
    at c ((index):1)
    at Object.<anonymous> (URL.js:4)
    at c ((index):1)
    at Object.<anonymous> (webidl2js-wrapper.js:3)
    at c ((index):1)
    at Object.<anonymous> (index.js:3)
    at c ((index):1)
    at Object.<anonymous> (api.js:7)