M
MastraAIโ€ข2w ago
Steffen

Dependecy update inconsistency

We are using Mastra since versio 15 core or something and basically ever time there is a update we run into issues doing npm install .. always leads to depency confilcts with core and libsql as soon as a new version is out this is NOT FUN I set the the versions fixed for now removing the ^.... Would be nice if i could just properly update without every time looking for whats the correct versions ๐Ÿ˜„ "@mastra/auth": "^0.1.2", "@mastra/core": "^0.18.0", "@mastra/libsql": "^0.14.3", "@mastra/loggers": "^0.10.11", "@mastra/memory": "^0.15.1",
sunger@MacBook-Pro-von-Steffen reference % npm i
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @mastra/libsql@0.14.3
npm error Found: @mastra/core@0.16.3
npm error node_modules/@mastra/core
npm error @mastra/core@"^0.16.3" from the root project
npm error peer @mastra/core@">=0.16.0-0 <0.17.0-0" from @mastra/deployer@0.16.3
npm error node_modules/@mastra/deployer
npm error @mastra/deployer@"^0.16.3" from mastra@0.12.3
npm error node_modules/mastra
npm error dev mastra@"^0.12.3" from the root project
npm error 3 more (@mastra/mcp, @mastra/server, mastra)
npm error
npm error Could not resolve dependency:
npm error peer @mastra/core@">=0.17.0-0 <0.19.0-0" from @mastra/libsql@0.14.3
npm error node_modules/@mastra/libsql
npm error @mastra/libsql@"^0.14.1" 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/libsql@0.14.3
npm error node_modules/@mastra/libsql
npm error @mastra/libsql@"^0.14.1" 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.
sunger@MacBook-Pro-von-Steffen reference % npm i
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @mastra/libsql@0.14.3
npm error Found: @mastra/core@0.16.3
npm error node_modules/@mastra/core
npm error @mastra/core@"^0.16.3" from the root project
npm error peer @mastra/core@">=0.16.0-0 <0.17.0-0" from @mastra/deployer@0.16.3
npm error node_modules/@mastra/deployer
npm error @mastra/deployer@"^0.16.3" from mastra@0.12.3
npm error node_modules/mastra
npm error dev mastra@"^0.12.3" from the root project
npm error 3 more (@mastra/mcp, @mastra/server, mastra)
npm error
npm error Could not resolve dependency:
npm error peer @mastra/core@">=0.17.0-0 <0.19.0-0" from @mastra/libsql@0.14.3
npm error node_modules/@mastra/libsql
npm error @mastra/libsql@"^0.14.1" 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/libsql@0.14.3
npm error node_modules/@mastra/libsql
npm error @mastra/libsql@"^0.14.1" 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.
2 Replies
Mastra Triager
Mastra Triagerโ€ข2w ago
๐Ÿ“ Created GitHub issue: https://github.com/mastra-ai/mastra/issues/8613
GitHub
[DISCORD:1425389530210369576] Dependecy update inconsistency ยท Iss...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1425389530210369576 We are using Mastra since versio 15 core or something and basically ever time there is...
_roamin_
_roamin_โ€ข2w ago
Hi @Steffen ! Until we reach 1.0 it's recommended to update your packages to latest ๐Ÿ˜‰

Did you find this page helpful?