M
Mastra•3w ago
FcoLomas

@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
Mastra Triager
Mastra Triager•3w ago
šŸ“ 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!
Obsidians
Obsidians•3w ago
I have the same problem - I ended up disabling observability for now, but I still can't get everything to work.
Abhi Aiyer
Abhi Aiyer•3w ago
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&amp;#39;t resolve &amp;#39;@mastra/ai-sdk/ui&amp;#39; Related Issue(s) Type of Change Bug fix (non-breaki...

Did you find this page helpful?

@mastra/ai-sdk 1.0.0-beta doesnt support mastra core at beta version - Mastra