Skip to content

Cannot find module '@fastify/vite/plugin' or its corresponding type declarations. #196

Closed
@FrancoRATOVOSON

Description

@FrancoRATOVOSON

Prerequisites

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

Fastify version

^5.2.1

Plugin version

^7.0.1

Node.js version

v22.13.0

Operating system

macOS

Operating system version (i.e. 20.04, 11.3, 10)

15.3.1

Description

As you can see, there is no plugin in the @fastify/vite folder inside node_modules.

Image

I usually use pnpm and I tried to use npm to see if pnpm is the problem but it's not.

Or may be am I wrong and this is not supposed to exists anymore ?

I just copy/pasted the code here https://github.com/fastify/fastify-vite/blob/dev/examples/typescript-vanilla/vite.config.js

Link to code that reproduces the bug

https://github.com/FrancoRATOVOSON/fastify-vite-issue

Expected Behavior

No response

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