Hello I have this very old application made in Vue 2 and everything was working fine but just today, I am experiencing this error: Uncaught SystaxError: Unexpected Token '<'
.
When I click the link, it returns an HTML file, the index file of my project:
So to check, I tried to build npm run build
the project locally. Upon checking on the generated files, the file returns a proper script file.
I also tried to run the project on docker locally, and it was working fine. I tried the usually answer publicPath: '/'
but it does not work on my issue.
Can somebody tell what is wrong with my project build?