Open ttbarnes opened 2 months ago
Are you using io-ts
or fp-ts
in your project?
Are you using
io-ts
orfp-ts
in your project?
Thanks for the quick response @dcousens - not specifically, seem to be dependencies within Keystone:
npm ls io-ts
api@1.0.0
└─┬ @keystone-6/fields-document@8.0.2
├─┬ io-ts-excess@1.0.1
│ └── io-ts@2.2.21 deduped
└── io-ts@2.2.21
npm ls fp-ts
api@1.0.0
├─┬ @keystone-6/core@5.8.0
│ ├─┬ @prisma/internals@4.16.2
│ │ └── fp-ts@2.16.0
│ └─┬ @prisma/migrate@4.16.2
│ └── fp-ts@2.16.0 deduped
└─┬ @keystone-6/fields-document@8.0.2
├─┬ io-ts-excess@1.0.1
│ └── fp-ts@2.16.0 deduped
└─┬ io-ts@2.2.21
└── fp-ts@2.16.0 deduped
I am facing similar issue.
@ttbarnes Found any solutions?
I am facing similar issue.
@ttbarnes Found any solutions?
Unfortunately not 😢
Further to @ttbarnes, previous release of @keystone-6/fields-document
(8.0.2, if I'm not mistaken) complained about missing correct versions of fp-ts
:
// yarn add @keystone-6/core@5.8.0 @keystone-6/auth@7.0.3 @keystone-6/fields-document@8.0.2
warning "@keystone-6/fields-document > io-ts@2.2.21" has unmet peer dependency "fp-ts@^2.5.0".
warning "@keystone-6/fields-document > io-ts-excess@1.0.1" has unmet peer dependency "fp-ts@^2.0.0".
Looking forward to a fix.
I think potentially we need to add fp-ts
as a peer dependency to the @keystone-6/fields-document
package - pull requests accepted!
Hiya, i've bumped the following packages to the latest versions, with node version
21.6.2
, NPM version10.2.4
:When running
npm run dev
, which has the following:I get the following error, Keystone cannot start:
Seems to be an issue relating to
io-ts
.How can this be resolved please?