I have a monorepo setup and have been having trouble pretty consistently. I'm now trying to deploy to Mastra cloud and that's failing too with cryptic erros like:
throw new Error("Missing required file, checked the following paths: " + files.join(", "));