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

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

Closed
2 tasks done
FrancoRATOVOSON opened this issue Feb 16, 2025 · 3 comments
Closed
2 tasks done

Comments

@FrancoRATOVOSON
Copy link

FrancoRATOVOSON commented Feb 16, 2025

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

@zisra
Copy link

zisra commented Feb 16, 2025

What you need to do is update to the 8.0.0-alpha.2 version.

@FrancoRATOVOSON
Copy link
Author

What you need to do is update to the 8.0.0-alpha.2 version.

Yes, it worked. Just think it's too bad to need to install a pre-release version to fix that bug and find out some others in that version while stable ones exists but have the current bug 😓

@galvez
Copy link
Member

galvez commented Mar 30, 2025

It should become latest tonight 🔥

@galvez galvez closed this as completed Mar 30, 2025
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

No branches or pull requests

3 participants