We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Fastify v4 announcement highlights this library https://medium.com/@fastifyjs/fastify-v4-ga-59f2103b5f0e :
import Fastify from 'fastify' import { TypeBoxTypeProvider, Type } from 'fastify-type-provider-typebox' const fastify = Fastify({ ajv: { customOptions: { strict: 'log', keywords: ['kind', 'modifier'] } } }).withTypeProvider<TypeBoxTypeProvider>()
But it looks like the npm package is out of date and unusable.
npm install @fastify/type-provider-typebox npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: project@1.0.0 npm ERR! Found: fastify@4.0.0 npm ERR! node_modules/fastify npm ERR! fastify@"^4.0.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer fastify@"github:fastify/fastify#next" from @fastify/type-provider-typebox@0.1.0-beta.1 npm ERR! node_modules/@fastify/type-provider-typebox npm ERR! @fastify/type-provider-typebox@"*" 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.
My machine:
$ node --version v18.2.0 $ npm --version 8.9.0
My package.json:
"dependencies": { "@types/node": "^17.0.41", "fastify": "^4.0.0" }, "devDependencies": { "typescript": "^4.7.3" }
The text was updated successfully, but these errors were encountered:
I'll release it today.
Sorry, something went wrong.
No branches or pull requests
Prerequisites
Issue
The Fastify v4 announcement highlights this library https://medium.com/@fastifyjs/fastify-v4-ga-59f2103b5f0e :
But it looks like the npm package is out of date and unusable.
My machine:
My package.json:
The text was updated successfully, but these errors were encountered: