hi Guys.
I have used both nodejs 16 & 18. whenever I try to deploy new version, I get error in my console "Uncaught SyntaxError: unexpected Token '<' " and it shows the page as blank.
If I erase all history and cache OR hard refresh (CTRL + F5) ( 1 time process) after that it works fine as a normal website no need to do anything.
How I Deploy MERN App
Nodejs main file (index.js) codes as below
ErrorLog and folder tree pics uploaded.