Build ERROR opt/build/repo/.cache/loader.js: Missing class properties transform

Hi! I’m not sure if this is the correct place to speak on this but I’m having a very similar issue to this.

I posted my problem in the above post. Just found this very post we’re on.

I also had a successful deployment back in very early May and decided to pick the project back up yesterday and have mysterious build problems. Rolling back everything to the last successful deployment also does not work for me. Even though the code should be exactly the same. I cleared the build cache and everything.

The first error is also a dependency error. It should be handled by package-lock.json but I manually installed all the missing dependencies that caused the builds to error anyways. After fixing those, it then threw various errors regarding typescript loaders. Also similar to @ robot’s problem it seems. At least regarding the loader.

Not sure what to do about my case either and I thought it would help to provide some information regarding this thread too. You suggested adding the package to package.json which I had done through my debug steps and that only lead to further issues. Everything works locally.