Uncaught TypeError: Cannot read properties of undefined (reading 'call')

Have an issue with my test site built using create-react-app that is working fine locally, including netlify dev. At first I thought I had forgotten the _redirects file, but it seems to be an issue with the API functions - just not sure what.

Here’s the latest deployment and the console error on the site:

Uncaught TypeError: Cannot read properties of undefined (reading 'call')
    at l ((index):1:1177)
    at Object.<anonymous> (index.js:1:1)
    at l ((index):1:1177)
    at Module.294 (main.86a66040.chunk.js:1:249)
    at l ((index):1:1177)
    at Object.180 (main.86a66040.chunk.js:1:110)
    at l ((index):1:1177)
    at t ((index):1:1046)
    at Array.r [as push] ((index):1:909)
    at main.86a66040.chunk.js:1:49

Hey @postonsundays,

Unfortunately, this appears to be some error with the production code. Did you trying using npm run build locally? The code has been bundled and we cannot make sense of what it is doing, so you might try using source maps to see if that gives you some clue.