Skip to content

Version 2.4.0 is brokenΒ #1660

@lraveri

Description

@lraveri

Hello, after the last release, running npx -y autocannon-ui@latest crashes at startup with the error:

ERROR: fastify-plugin: @fastify/static - expected '5.x' fastify version, '4.29.1' is installed err: { "type": "FastifyError", "message": "fastify-plugin: @fastify/static - expected '5.x' fastify version, '4.29.1' is installed", "stack": FastifyError: fastify-plugin: @fastify/static - expected '5.x' fastify version, '4.29.1' is installed at Object.checkVersion (/Users/lraveri/.npm/_npx/687b9abd5e136d04/node_modules/fastify/lib/pluginUtils.js:125:11) at Object.registerPlugin (/Users/lraveri/.npm/_npx/687b9abd5e136d04/node_modules/fastify/lib/pluginUtils.js:148:16) at Boot.override (/Users/lraveri/.npm/_npx/687b9abd5e136d04/node_modules/fastify/lib/pluginOverride.js:28:57) at Boot._loadPlugin (/Users/lraveri/.npm/_npx/687b9abd5e136d04/node_modules/avvio/boot.js:425:25) at process.processTicksAndRejections (node:internal/process/task_queues:89:21) "code": "FST_ERR_PLUGIN_VERSION_MISMATCH", "name": "FastifyError", "statusCode": 500 }

I'm sending a PR that will fix the issue.

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