Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

storage-3 canary error v52 and up

default discord avatar
madmax3364last year
5

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.

  • discord user avatar
    alessiogr
    last year

    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

  • default discord avatar
    madmax3364last year

    Thank you for the response! Unfortunately, even when I upgrade to version 65 I encounter the same error

  • discord user avatar
    denolfe
    last year

    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

  • default discord avatar
    madmax3364last year

    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!

  • discord user avatar
    denolfe
    last year

    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 on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.