After angular is deployed to apache, a routing error is reported.

when I do not use .htaccess, I can access resources when I enter the dist directory after build. Within the application, I can also access resources by clicking on the routing link. But when my url address is refreshed in the routed state, it will report a 404 error. So I follow the tutorial and set up .htaccess under the root directory of the project. The code is as follows

.
Uncaught SyntaxError: Unexpected token <
polyfills.c6871e56cb80756a5498.js:1 Uncaught SyntaxError: Unexpected token <
main.aa5ad4d7dcb537b60496.js:1 Uncaught SyntaxError: Unexpected token <
Mar.13,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5818d-43f61.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5818d-43f61.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?