I had the same error and noticed that there was a folder named app in the root of the project, even though I have everything inside src. I'm using Prisma, and when I ran a migration, that folder was created. I deleted it, and now everything is working fine.