Error after updating to v12


I have updated ERPNext from v11 to v12 using these commands:

bench switch-to-branch version-12 --upgrade
bench update --patch

All finished well, however, when I try to load the site, it gets stuck at the blank screen with the ERPNext logo in the middle.

When watching the console window, this error is displayed:

What can I do to solve this problem?


Have you tried bench build? Perhaps assets aren’t built yet.