@mastra/ai-sdk 1.0.0-beta doesnt support mastra core at beta version
When we use this dependencies:
"dependencies": {
"@ai-sdk/openai": "^2.0.71",
"@mastra/ai-sdk": "^1.0.0-beta.3",
"@mastra/core": "^1.0.0-beta.4",
"@mastra/loggers": "^1.0.0-beta.1",
"@mastra/mcp": "^1.0.0-beta.2",
"@mastra/memory": "^1.0.0-beta.1",
"@mastra/pg": "^1.0.0-beta.1",
"dotenv": "^17.2.3",
"drizzle-orm": "^0.44.7",
"trello.js": "^1.2.8",
"zod": "^4.1.12"
},
npm error Found: @mastra/core@1.0.0-beta.4
npm error node_modules/@mastra/core
npm error @mastra/core@"^1.0.0-beta.4" from the root project
npm error peer @mastra/core@">=1.0.0-0 <2.0.0-0" from @mastra/observability@1.0.0-beta.1
npm error node_modules/@mastra/observability
npm error peerOptional @mastra/observability@">=1.0.0-0 <2.0.0-0" from @mastra/core@1.0.0-beta.4
npm error
npm error Could not resolve dependency:
npm error peer @mastra/core@">=0.21.0-0 <0.25.0-0" from @mastra/ai-sdk@1.0.1
npm error node_modules/@mastra/ai-sdk
npm error @mastra/ai-sdk@"^1.0.0-beta.3" from the root project
Help please
3 Replies
š Created GitHub issue: https://github.com/mastra-ai/mastra/issues/10418
š If you're experiencing an error, please provide a minimal reproducible example whenever possible to help us resolve it quickly.
š Thank you for helping us improve Mastra!
I have the same problem - I ended up disabling observability for now, but I still can't get everything to work.
We had a snag with peer deps this week. We have a PR here:
https://github.com/mastra-ai/mastra/pull/10388
GitHub
[Fix] Move @mastra/ai-sdk to peer and dev dependency by greglobinsk...
Description
Resolve an issue when playground-ui is used on Cloud
Module not found: Can&#39;t resolve &#39;@mastra/ai-sdk/ui&#39;
Related Issue(s)
Type of Change
Bug fix (non-breaki...