Repository navigation
How to upgrade? #17131
Replies: 3 comments
|
Make sure to mark all payload packages as the same version, and delete node_modules, occasionally I also delete package-lock. After an install it should all start working again. Do note you may need to run migrations/typegen again when updating payload. |
|
you can give answer: Use npm install payload@3.85.1 @payloadcms/next@3.85.1 @payloadcms/ui@3.85.1 ... and delete node_modules and lock, then run npm install again. Also add resolutions in package.json: "resolutions": { "@payloadcms/*": "3.85.1" } if using Yarn. Or use npm-force-resolutions. But keep within 2-4 short paragraphs. |
|
That ERESOLVE is npm resolving each Two things usually get you out of it. First, check your package.json for every If the lockfile still argues after that, delete After the upgrade, run |
Uh oh!
There was an error while loading. Please reload this page.
I want to migrate my project to typescript v6 and I need 3.85.1 to resolve this:
So I'm trying to execute this:
And I get the error:
npm updatealso fails. Is there really no way to upgrade payloadcms without--legacy-peer-deps/--force?All reactions