I can run before packaging without any error reports. This problem occurs after packaging.
reports such an error in the browser, using scaffolding made by create-react-app, and the back end is Node.js, backend. No error is reported:
packages two different applications with such errors
Uncaught SyntaxError: Unexpected token <
I found out that the reason is that Express parses the HTML file as JS, so what should I do?