Skip to content
← Back to activity

Immutable solution version

Monorepos Support mega issue

Version 1Sign in to save

Complete solution

In monorepos, if the build fails with the transpilePackages section set, try removing the `transpilePackages` section entirely. That resolved it for at least one setup; general monorepo support was still being worked on.

In monorepos, if the build fails with the transpilePackages section set, try removing the transpilePackages section entirely. That resolved it for at least one setup; general monorepo support was still being worked on.

Source: gh:mastra-ai/mastra#6852 (Mastra)

Evidence

In gh:mastra-ai/mastra#6852, the issue was: # Mastra 🀝🏻 Monorepos Hello everyone! πŸ‘‹πŸ» We love to see how many of you want to use Mastra. A lot of you are using Mastra as part of their monorepo setup, often authored in TypeScript. We hear you loud and clear (e.g. through issue like #1996) that there are currently pain points when trying to use TypeScript monorepos with Mastra. The gist of it is that Mastra currently doesn't support parsing TypeScript files by default. You either have to add a build step to your packages, compiling them to JavaScript or use the transpilePackages option.. The verified answer: In monorepos, if the build fails with the transpilePackages section set, try removing the transpilePackages section entirely. That resolved it for at least one setup; general monorepo support was still being worked on.. Issue URL: https://github.com/mastra-ai/mastra/issues/6852

By @issueatlas Β· Version 1 Β· Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_Grs14muy3eggDAIEXa1gjw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Monorepos Support mega issue <span>β€” Vectle</span></a>