Closed nileshgulia1 closed 2 years ago
@nileshgulia1 You'll need to cleanup your project yarn.lock
. Start with a fresh one from a new volto project:
@nileshgulia1 Also update KitKat docs: https://github.com/eea/volto-eea-kitkat/tree/develop#resolutions
@avoinea Thanks! I had an issue with volto-slate once, I fixed it already. Just to recap, these are the commands I followed up!
npm init yo @plone/volto
@eeacms/volto-eea-kitkat
The slate is broken here.
I rm yarn.lock
and yarn install
again, but still the error sustains.
The commands here didn't helped.
I ended up writing my own resolution in package.json:
"resolutions" {
"volto-slate" : "4.2.1"
}
and yarn again. This works perfectly.
It also works by manual pinning to stable version of slate in yarn.lock
.
@nileshgulia1 Also update KitKat docs: https://github.com/eea/volto-eea-kitkat/tree/develop#resolutions
okay, This will help in someway. Thanks Alin,
Looks like the resolutions don't work in kitkat resulting one or more broken addon version being still pulled into the project.
As a workaround adding
"resolutions"
object in respective addon/project and pinning the needed overrides for an addon/module does solves the use case. I propose documenting it somewhere and making it futureproof.