Skip to content
New issue

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

Why @[email protected] bind [email protected] rather than 4.x #411

Closed
2 tasks done
AprilNEA opened this issue Sep 17, 2023 · 1 comment · Fixed by #410
Closed
2 tasks done

Why @[email protected] bind [email protected] rather than 4.x #411

AprilNEA opened this issue Sep 17, 2023 · 1 comment · Fixed by #410

Comments

@AprilNEA
Copy link

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the bug has not already been reported

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

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/[email protected] with [email protected]

Expected Behavior

@fastify/[email protected] can be used in [email protected]

@AprilNEA
Copy link
Author

AprilNEA commented Sep 17, 2023

Quick Response 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant