Occasional failed to open admin because of syntax error

System Information
  • Strapi Version: 3.6.8
  • Operating System: Ubuntu (Heroku)
  • Database: postgresql
  • Node Version: 14.15.1
  • NPM Version: 6.14.8
  • Yarn Version: 1.22.15

I’m deploying Strapi on heroku and the /admin occasionally (quite often) fail to load because of JS syntax error. It’s simply accessible one day and suddenly the next day, even though I wasn’t doing any rebuild or redeployment or even adding new data, it failed to load. Here’s the console error.

And it’s coming from different lines at different times. And the funny thing is at the same time, I can open the admin from my mobile phones. Does anyone having similar issue. It really drives me crazy now.

Dev environment has no issue at all.

Thanks for the help!