I have been using the storage-3 plugin successfully with payload v3 up to version 51. When I attempt to update my dependencies past v51 I encounter the error
Error: Mismatching payload dependency versions found: payload@3.0.0-beta.52, @payloadcms/plugin-cloud-storage@3.0.0-canary.f83d96a. All payload and @payloadcms/* packages must have the same version.I find this error odd since I am not even using the payloadcms/plugin-cloud-storage dependency.
I'd upgrade to beta.65. The error has been tuned down a bit, specifically in monorepos, or if you have a package.json outside of your project which is installing payload dependencies
Thank you for the response! Unfortunately, even when I upgrade to version 65 I encounter the same error
Provide your package.json dependencies
All of the package dependencies for payload are not on the same version
plugin-cloud-storage is a dep of storage-s3. My guess would be that storage-s3 is not on the same version as the others.
Also canaries are for internal use
use betas
Here are my dependencies
"dependencies": {
"@payloadcms/db-mongodb": "3.0.0-beta.51",
"@payloadcms/db-postgres": "3.0.0-beta.51",
"@payloadcms/next": "3.0.0-beta.51",
"@payloadcms/richtext-lexical": "3.0.0-beta.51",
"@payloadcms/richtext-slate": "3.0.0-beta.51",
"@payloadcms/storage-s3": "^3.0.0-beta.51",
"@payloadcms/ui": "3.0.0-beta.51",
"@smithy/node-http-handler": "^3.0.1",
"@swc/core": "^1.5.24",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"handlebars": "^4.7.8",
"hpagent": "^1.2.0",
"next": "14.3.0-canary.28",
"payload": "3.0.0-beta.51",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sharp": "^0.33.4"
}Thank you for taking a look!
You have a caret on storage-s3
This makes it pull latest beta instead of exactly beta 51
Fix that, delete lock file, reinstall
Then you'll be good
Star
Discord
online
Get dedicated engineering support directly from the Payload team.