Dependency version mismatch
andriichern opened this issue · 2 comments
andriichern commented
Prerequisites
- I have written a descriptive issue title
- I have searched existing issues to ensure the bug has not already been reported
Fastify version
3.29.0
Plugin version
6.2.1
Node.js version
16.7.0
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
12.3.1
Description
I believe it just a simple typo bug.
Plugin itself requires fastify
version at least 4.x while latest released version is 3.29.0.
At the same time docs also says it expects at least version 2.x.
Code from index.js
file:
module.exports = fp(fastifyView, {
fastify: '4.x',
name: 'point-of-view'
})
Steps to Reproduce
Just install it in a 'fresh' project :)
Expected Behavior
No response
Fdawgs commented
Use v5.3.0 if you need Fastify v3.x support.
Fastify v4 is being released soon, and the plugins have been updated ahead of it.
See the work done in fastify/fastify#3482
andriichern commented
Ok, thx!