I'm trying to host a React.js application, created with create-react-app (react-scripts v2.1.5), on IIS.
I keep getting the following type errors:
I've tried everything mentioned in this question, to no avail: create-react-app on IIS 10
Hosting it with "serve -s build" as suggested by CRA's build script works fine, but I want to host it through IIS.
Is there anything obvious I'm missing? Any help would be greatly appreciated.