NouanceLabs / payload-better-fields-plugin

This plugin aims to provide you with very specific and improved fields for the Payload admin panel.
MIT License
124 stars 2 forks source link

Can't install on Payload 2.1.1 #42

Closed hades200082 closed 7 months ago

hades200082 commented 7 months ago
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: cms@1.0.0
npm ERR! Found: payload@2.1.1
npm ERR! node_modules/payload
npm ERR!   payload@"^2.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer payload@"^1.0.0" from @nouance/payload-better-fields-plugin@1.1.0
npm ERR! node_modules/@nouance/payload-better-fields-plugin
npm ERR!   @nouance/payload-better-fields-plugin@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
paulpopus commented 7 months ago

@hades200082 oops, forgot the peer dependency in the upgrade, just cut a new release 1.1.1 for this if you can let me know if it works for you?

Which package manager is this? I primarily use yarn

hades200082 commented 7 months ago

It was npm. Yarn 2+ has caused me so many issues over the last year I just stick with simple npm now.

That works now. Thanks.