Mastra Cloud Deployment Failing Due to @mastra/cloud Version Incompatibility

I can't deploy my project to Mastra Cloud because of a version conflict that might be caused by your deployment system.

The Problem:
Your packages have incompatible version requirements:
  • @mastra/cloud requires @mastra/core versions 0.10.7-0.14.0
  • @mastra/evals requires @mastra/core versions 0.15.3+
This makes it impossible to use both packages together.

What I Tried:

Attempt 1 - Using "latest" versions:
"@mastra/core": "latest",
"@mastra/evals": "latest" 

❌ Failed: Version conflict during npm install

Attempt 2 - Using specific compatible versions:
"@mastra/core": "^0.17.1",
"@mastra/evals": "^0.13.7",
"@mastra/cloud": "^0.1.15"

✅ Local install works perfectly
❌ Mastra Cloud deployment still fails

The Bug:
Even though my package.json specifies "@mastra/evals": "^0.13.7", your cloud deployment system ignores this and tries to install @mastra/evals@"latest" during bundling, which recreates the same version conflict.

Evidence:
My local pnpm install succeeds, but your cloud bundler logs show:
npm error @mastra/evals@"latest" from the root project


This suggests your deployment system is overriding my package.json versions.

Request:
Are you able to either:
  1. Update @mastra/cloud to support newer @mastra/core versions, OR
  2. Tweak your cloud bundler to respect the exact package versions specified in package.json?
Thanks!

PS, If it is of any significance, I am in a monorepo setup.

PPS, Here's the project: https://cloud.mastra.ai/lloyds-team/dashboard/projects/salmon-lemon-apartment/runtime/deployment
The serverless platform for AI Agents
Was this page helpful?