I have created a .NetCore 3.1/CRA(Create React App) web app that is running perfectly locally(iis Express).
But when I publish to an IIS 10 server, I get errors like this:
TypeError: t.forEach is not a function
at oe (react-table.production.min.js:652)
at react-table.production.min.js:3027
at Object.mi [as useMemo] (react-dom.production.min.js:3924)
at Object.t.useMemo (react.production.min.js:399)
at e.useTable (react-table.production.min.js:3024)
at ie (GamerProfiles.js:355)
at Qo (react-dom.production.min.js:3667)
at Li (react-dom.production.min.js:4293)
at bu (react-dom.production.min.js:6697)
at bs (react-dom.production.min.js:6150)
I have upgraded React, npm, and other libraries to the latest.
I am using a library called React-Table
and I have that as the latest version too.
It is running great when I run it in Visual Studio locally.
In my publishing profile, I set it to debug
hoping that might help make the errors more readable.
But as you can see, it's not very helpful.
Has anyone had any luck debugging an app like this on IIS?
Thanks!