Static files suddenly stop building

We’ve been running a Nest.js app for quite some time and suddenly, after a push that doesn’t touch the email logic, all email templates .html stop showing up.

ERROR [EmailService] Failed to compile template reset-password.html: ENOENT: no such file or directory, open '/app/dist/lib/templates/reset-password.html' +1ms

This path existed in previous deployments. I ran the docker image locally to confirm too. I have not touched the .toml files as well.

So what could be the issue? It’s been two days.

Also, I just noticed that when I build my deployments from the UI dashboard, it doesn’t work anymore.

Uh oh, build failed

Your deployment failed, you might want to read the logs and check if there's something you need to change in your repo or if you just need a new retry

This error shows up even before the build process starts so I cannot see the logs.

What I’ve tried

After reading posts on here about similar problems, I

  • Reset the App Builder
  • Increase machine capacity
  • Destroyed and created new machines

It just doesn’t work.

PLEASE HELP!!