Prerequisites
Fastify version
4.22.2
Plugin version
6.11.1
Node.js version
18
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
12.6.5
Description
FastifyError: fastify-plugin: @fastify/static - expected '^4.23.0' fastify version, '4.22.2' is installed
|
module.exports = fp(fastifyStatic, { |
|
fastify: '^4.23.0', |
|
name: '@fastify/static' |
Why is the only fastify version specified in version 6.11.1 4.23.0 instead of 4.x, which prevents me from running it compatibly.
Steps to Reproduce
install @fastify/static@6.11.1 with fastify@4.22.2
Expected Behavior
@fastify/static@6.11.1 can be used in fastify@4.x
Prerequisites
Fastify version
4.22.2
Plugin version
6.11.1
Node.js version
18
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
12.6.5
Description
FastifyError: fastify-plugin: @fastify/static - expected '^4.23.0' fastify version, '4.22.2' is installed
fastify-static/index.js
Lines 554 to 556 in 2471a4c
Why is the only fastify version specified in version 6.11.1 4.23.0 instead of 4.x, which prevents me from running it compatibly.
Steps to Reproduce
install @fastify/static@6.11.1 with fastify@4.22.2
Expected Behavior
@fastify/static@6.11.1 can be used in fastify@4.x