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:
What I Tried:
Attempt 1 - Using "latest" versions:
Failed: Version conflict during npm install
Attempt 2 - Using specific compatible versions:
Local install works perfectly
Mastra Cloud deployment still fails
The Bug:
Even though my package.json specifies
Evidence:
My local
This suggests your deployment system is overriding my package.json versions.
Request:
Are you able to either:
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 Problem:
Your packages have incompatible version requirements:
@mastra/cloudrequires@mastra/coreversions 0.10.7-0.14.0@mastra/evalsrequires@mastra/coreversions 0.15.3+
What I Tried:
Attempt 1 - Using "latest" versions:
Attempt 2 - Using specific compatible versions:
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:This suggests your deployment system is overriding my package.json versions.
Request:
Are you able to either:
- Update
@mastra/cloudto support newer@mastra/coreversions, OR - Tweak your cloud bundler to respect the exact package versions specified in package.json?
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