Skip to content

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

@AprilNEA

Description

@AprilNEA

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions