Mastra Cloud: Can't deploy empty mastra app into turborepo

I'm trying to deploy a simple mastra app in Mastra Claude, it is a simple empty mastra app, locally works correctly. The project is created, but the onlyk feedback I'm receiving is the toast with the messages in the image attached.
No description
8 Replies
Ata Sanchez
Ata SanchezOP2mo ago
There are my configuration. The repository is a monorepo with Turborepo.
import { Mastra } from '@mastra/core/mastra';
import { LibSQLStore } from '@mastra/libsql';
import { PinoLogger } from '@mastra/loggers';
import { weatherAgent } from './agents/weather-agent';
import {
completenessScorer,
toolCallAppropriatenessScorer,
translationScorer,
} from './scorers/weather-scorer';
import { weatherWorkflow } from './workflows/weather-workflow';

export const mastra = new Mastra({
workflows: { weatherWorkflow },
agents: { weatherAgent },
scorers: { toolCallAppropriatenessScorer, completenessScorer, translationScorer },
storage: new LibSQLStore({
// stores observability, scores, ... into memory storage, if it needs to persist, change to file:../mastra.db
url: ':memory:',
}),
logger: new PinoLogger({
name: 'Mastra',
level: 'info',
}),
telemetry: {
// Telemetry is deprecated and will be removed in the Nov 4th release
enabled: false,
},
observability: {
// Enables DefaultExporter and CloudExporter for AI tracing
default: { enabled: true },
},
bundler: {
transpilePackages: ['@workspace/db', '@workspace/utils'],
sourcemap: true,
},
});
import { Mastra } from '@mastra/core/mastra';
import { LibSQLStore } from '@mastra/libsql';
import { PinoLogger } from '@mastra/loggers';
import { weatherAgent } from './agents/weather-agent';
import {
completenessScorer,
toolCallAppropriatenessScorer,
translationScorer,
} from './scorers/weather-scorer';
import { weatherWorkflow } from './workflows/weather-workflow';

export const mastra = new Mastra({
workflows: { weatherWorkflow },
agents: { weatherAgent },
scorers: { toolCallAppropriatenessScorer, completenessScorer, translationScorer },
storage: new LibSQLStore({
// stores observability, scores, ... into memory storage, if it needs to persist, change to file:../mastra.db
url: ':memory:',
}),
logger: new PinoLogger({
name: 'Mastra',
level: 'info',
}),
telemetry: {
// Telemetry is deprecated and will be removed in the Nov 4th release
enabled: false,
},
observability: {
// Enables DefaultExporter and CloudExporter for AI tracing
default: { enabled: true },
},
bundler: {
transpilePackages: ['@workspace/db', '@workspace/utils'],
sourcemap: true,
},
});
https://cloud.mastra.ai/retrip -> My team
No description
Mastra Triager
Mastra Triager2mo ago
GitHub
[DISCORD:1432721909962899536] Mastra Cloud: Can't deploy empty mast...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1432721909962899536 I'm trying to deploy a simple mastra app in Mastra Claude, it is a simple empty ma...
_roamin_
_roamin_2mo ago
Hi @Ata Sanchez ! Were you able to figure this issue out? If not, is you "Mastra Directory" pointing to the correct folder in your monorepo?
Ata Sanchez
Ata SanchezOP2mo ago
Hey @Romain yes, the configuration is standard into a turborepo And no, I'm still experiencing this issue :/ I'm gonna try with a new empty project this evening
_roamin_
_roamin_2mo ago
Sounds good, please share you project slug and we can look into it 😉
Ata Sanchez
Ata SanchezOP2mo ago
in local works great!
_roamin_
_roamin_2mo ago
It doesn't seem like your project is properly configured as it's not pulling any of your code into Mastra Cloud were you able to install the github app to your account?

Did you find this page helpful?