Mastra won't build due to "ZodOptional" is not exported by ".mastra/.build/zod.mjs"
Hey guys, is there a way to get around this error?
Here's my
package.json
4 Replies
š Created GitHub issue: https://github.com/mastra-ai/mastra/issues/10272
š If you're experiencing an error, please provide a minimal reproducible example to help us resolve it quickly.
š Thank you @kareulo for helping us improve Mastra!
https://github.com/mastra-ai/mastra/pull/10470 should fix this, it should go out later today or you can try the beta
GitHub
fix(deployer): Disable treeshake in analyzeEntry by LekoArts Ā· Pul...
Description
Fix bundling failure when imports are declared but never used
Problem
Users encountered build errors when importing multiple exports from a package but only using some of them:
import {...
GitHub
[BUG] Bundling Error: createQueryVectorTool fails the build if not ...
Describe the Bug When you have a tool in the tools directory that uses createQueryVectorTool, but that tool isn't used by an agent you get the following error: error: { "binding": &qu...
A new 0.x version is out with a fix, please update your mastra versions to the latest version š