M
MastraAI2w ago
Sean

Production Bug: Cannot read properties of undefined (reading 'typeName')

I'm getting this error in a production deployment (Docker container). This does not happen when I run the app locally with pnpm dev. Error executing step prepare-tools-step: TypeError: Cannot read properties of undefined (reading 'typeName')
5 Replies
Mastra Triager
GitHub
[DISCORD:1427334263908335836] Production Bug: Cannot read propertie...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1427334263908335836 I'm getting this error in a production deployment (Docker container). This does no...
_roamin_
_roamin_2w ago
Hi @Sean ! Are you able to share a small repro example with use? Thanks 🙏
Sean
SeanOP7d ago
Here you go, try loading the playground and you'll see the error: https://github.com/slawton3/zod-error-example
GitHub
GitHub - slawton3/zod-error-example
Contribute to slawton3/zod-error-example development by creating an account on GitHub.
_roamin_
_roamin_7d ago
Thanks @Sean ! I marked the issue as urgent, hopefully we'll have a fix very soon 😉
Sean
SeanOP7d ago
Thank you for the update!

Did you find this page helpful?