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

Support for nestjs v9 #919

Closed
1 task done
CatsJuice opened this issue Jul 8, 2022 · 1 comment
Closed
1 task done

Support for nestjs v9 #919

CatsJuice opened this issue Jul 8, 2022 · 1 comment

Comments

@CatsJuice
Copy link

Is there an existing issue that is already proposing this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe it

I am migrating my nestjs project from v8 to v9. The fastify-static dependency in the latest version of nestjs@9 has been deprecated, and I have installed @fastify/static. The project throws the following error:

[Nest] 72982  - 2022/07/08 下午5:36:44   ERROR [PackageLoader] The "fastify-static" package is missing. Please, make sure to install this library ($ npm install fastify-static) to take advantage of ServeStaticModule.

I checked the source code of @nestjs/serve-static for the latest version(2.2.2) and found a dependency on fastify-static. Is @nestjs/serve-static being updated or scheduled to be updated. If so, when will I be able to use it?

Describe the solution you'd like

Publish updates dependent on @fastify/staticinstead.

Teachability, documentation, adoption, migration strategy

No response

What is the motivation / use case for changing the behavior?

Migrating nestjs from v8 to v9

@kamilmysliwiec
Copy link
Member

Fixed in v3

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

2 participants