turborepo local package dependencies cascading?
after upgrading some mastra packages I now started getting this error:
basically my main ap has
worker-core a dependency, which is a local package, and it that package has a depdency to another local package cloudflare that has @aws-sdk/client-s3 as a dependency... not sure what is going on here all of a sudden. I build everything with tsc6 Replies
tried reproducing it here but it won't even import the
worker-core package properly https://github.com/amosbastian/mastra-reproduction/tree/package
Hmm, that looks like a bug in our bundler. I'll let our triager bot create a GH issue
📝 Created GitHub issue: https://github.com/mastra-ai/mastra/issues/8218
GitHub
[DISCORD:1420847587052752896] turborepo local package dependencies ...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1420847587052752896 after upgrading some mastra packages I now started getting this error: ◐ Preparing dev...
managed to reproduce it properly here: https://github.com/amosbastian/mastra-reproduction
it happens when e.g. an imported workflow or agent imports from another file, e.g.
then it will fail with
GitHub
GitHub - amosbastian/mastra-reproduction
Contribute to amosbastian/mastra-reproduction development by creating an account on GitHub.
if you put
test.ts's code in my-agent.ts then it will work bundle fine
I'm really surprised I seem to be the only person having this issueI reopened the GH issue 😉