Closed isaiahdahl closed 1 year ago
What happens if you delete node_modules also when deleting yarn.lock, does it install after that?
Looking at the versions of Payload and plugins mentioned there shouldn't be any problem.
It was a fresh clone so there aren’t any node_modules to delete.
Looks like Plugin-form-builder needs a newer version of payload as it’s peer-dependency.
Ah, yeah, just run npm install --legacy-peer-deps
. Or use Yarn. We typically use Yarn so we don't have those issues but regardless, we can update that plugin to show compatibility with newer Payload versions 👍
Hey @isaiahdahl, this has been fixed with https://github.com/payloadcms/payload/pull/2656. The --legacy-peer-deps
flag is no longer required. Update to the latest version of Payload and let me know how it goes!
Tried cloning the repo and running
npm install
(after deleting yarn.lock)