Issue deplying Repl - works fine with Legacy Hosting

Hello, i keep getting an error about EJS when deploying my Repl, even though it previously worked fine with the Legacy Hosting. Error info:
2024-01-04T03:44:59Z error: The deployment failed to initialize due to a configuration or code error. Check the logs tab for more information. For additional support, please post on https://ask.replit.com/c/help/13 and a staff member will take a look.

Repl name: otter-dot-me
URL: https://0tr.me

Thanks!