mastra cloud deployment fail npm install

npm error ERESOLVE could not resolve npm error npm error While resolving: server@1.0.0 npm error Found: @mastra/core@0.13.2 npm error node_modules/@mastra/core npm error peer @mastra/core@">=0.10.7-0 <0.14.0-0" from @mastra/cloud@0.1.7 npm error node_modules/@mastra/cloud npm error @mastra/cloud@"0.1.7" from the root project npm error peer @mastra/core@">=0.13.0-0 <0.14.0-0" from @mastra/libsql@0.13.1 npm error node_modules/@mastra/libsql npm error @mastra/libsql@"0.13.1" from the root project npm error 1 more (@mastra/loggers) npm error npm error Could not resolve dependency: npm error @mastra/mongodb@"0.14.2" from the root project npm error npm error Conflicting peer dependency: @mastra/core@0.18.0 npm error node_modules/@mastra/core npm error peer @mastra/core@">=0.17.0-0 <0.19.0-0" from @mastra/mongodb@0.14.2 npm error node_modules/@mastra/mongodb npm error @mastra/mongodb@"0.14.2" from the root project npm error**
14 Replies
Rafik Belkadi
Rafik BelkadiOP•4w ago
@Romain sorry for tagging you aha, seems to be an issue from mastra i think ? maybe @mastra/cloud isn't up to date ?
_roamin_
_roamin_•4w ago
Hey @Rafik Belkadi ! Can you try re-deploying your project?
Rafik Belkadi
Rafik BelkadiOP•4w ago
still same error
npm error ERESOLVE could not resolve
npm error
npm error While resolving: server@1.0.0
npm error Found: @mastra/core@0.13.2
npm error node_modules/@mastra/core
npm error peer @mastra/core@">=0.10.7-0 <0.14.0-0" from @mastra/cloud@0.1.7
npm error node_modules/@mastra/cloud
npm error @mastra/cloud@"0.1.7" from the root project
npm error peer @mastra/core@">=0.13.0-0 <0.14.0-0" from @mastra/libsql@0.13.1
npm error node_modules/@mastra/libsql
npm error @mastra/libsql@"0.13.1" from the root project
npm error 1 more (@mastra/loggers)
npm error
npm error Could not resolve dependency:
npm error @mastra/mongodb@"0.14.2" from the root project
npm error
npm error Conflicting peer dependency: @mastra/core@0.18.0
npm error node_modules/@mastra/core
npm error peer @mastra/core@">=0.17.0-0 <0.19.0-0" from @mastra/mongodb@0.14.2
npm error node_modules/@mastra/mongodb
npm error @mastra/mongodb@"0.14.2" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency
npm error ERESOLVE could not resolve
npm error
npm error While resolving: server@1.0.0
npm error Found: @mastra/core@0.13.2
npm error node_modules/@mastra/core
npm error peer @mastra/core@">=0.10.7-0 <0.14.0-0" from @mastra/cloud@0.1.7
npm error node_modules/@mastra/cloud
npm error @mastra/cloud@"0.1.7" from the root project
npm error peer @mastra/core@">=0.13.0-0 <0.14.0-0" from @mastra/libsql@0.13.1
npm error node_modules/@mastra/libsql
npm error @mastra/libsql@"0.13.1" from the root project
npm error 1 more (@mastra/loggers)
npm error
npm error Could not resolve dependency:
npm error @mastra/mongodb@"0.14.2" from the root project
npm error
npm error Conflicting peer dependency: @mastra/core@0.18.0
npm error node_modules/@mastra/core
npm error peer @mastra/core@">=0.17.0-0 <0.19.0-0" from @mastra/mongodb@0.14.2
npm error node_modules/@mastra/mongodb
npm error @mastra/mongodb@"0.14.2" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency
`
_roamin_
_roamin_•4w ago
Could you send me your deployment id and your project slug? I
Rafik Belkadi
Rafik BelkadiOP•4w ago
d9cd3693-9e22-460d-8874-01c007f06129 slug: recapp been 15 days since no deployment went through 😢
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Rafik Belkadi
Rafik BelkadiOP•4w ago
i've just deployed my mastra project to aws lambda until this gets fixed (not working tho on lambda) if you have any updates on this @Romain
_roamin_
_roamin_•3w ago
Thanks @Rafik Belkadi, shared the deployment details with the team. I'll let you know once I hear back Hey @Rafik Belkadi ! So there was an issue on our end, but now that this is fixed, there seems to be an issue with a package you're using in your project:
npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/@recapp%2fshared-types - Not found
npm error 404
npm error 404 '@recapp/shared-types@latest' is not in this registry.
npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/@recapp%2fshared-types - Not found
npm error 404
npm error 404 '@recapp/shared-types@latest' is not in this registry.
Rafik Belkadi
Rafik BelkadiOP•3w ago
i'll try redeploying it ! might be due to my monorepo setup @Romain it succeeded right after i tried redeploying, but now after deploying again i got the same error : rocess failed: ExecaError: Command failed with exit code 1: npm install npm error code ERESOLVE npm error ERESOLVE could not resolve npm error npm error While resolving: server@1.0.0 npm error Found: @mastra/core@0.13.2 npm error node_modules/@mastra/core npm error peer @mastra/core@">=0.10.7-0 <0.14.0-0" from @mastra/cloud@0.1.7 npm error node_modules/@mastra/cloud npm error @mastra/cloud@"0.1.7" from the root project npm error peer @mastra/core@">=0.13.0-0 <0.14.0-0" from @mastra/libsql@0.13.1 npm error node_modules/@mastra/libsql npm error @mastra/libsql@"0.13.1" from the root project npm error 1 more (@mastra/loggers) npm error npm error Could not resolve dependency: npm error @mastra/mongodb@"0.14.2" from the root project npm error npm error Conflicting peer dependency: @mastra/core@0.18.0 npm error node_modules/@mastra/core npm error peer @mastra/core@">=0.17.0-0 <0.19.0-0" from @mastra/mongodb@0.14.2 npm error node_modules/@mastra/mongodb npm error @mastra/mongodb@"0.14.2" from the root project npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution.
_roamin_
_roamin_•3w ago
Thanks @Rafik Belkadi , I'll check with the team 😉 Hey @Rafik Belkadi ! This should be fixed, sorry for the inconvenience!
Rafik Belkadi
Rafik BelkadiOP•3w ago
amazing thank you so much
Rafik Belkadi
Rafik BelkadiOP•3w ago
@Romain i don't know if it's related but my agent is not showing up on mastra cloud, although i can call it from the client sdk
No description
No description
_roamin_
_roamin_•3w ago
Hmm... is this still ocurring? If yes, could you try a redeploy?
Rafik Belkadi
Rafik BelkadiOP•3w ago
all good now thx !

Did you find this page helpful?