Skip to content

[Bug?]: FastifyError [Error]: The decorator 'urlData' has already been added! #9789

@SquirrelJimmy

Description

@SquirrelJimmy

What's not working?

when build project, use api-server start both-server(api&web) with cmd @redwoodjs/api-server --port 8910 catch error FastifyError [Error]: The decorator 'urlData' has already been added!
This error catch above v6.6.0

How do we reproduce the bug?

  1. yarn rw build
  2. node ./node_modules/@redwoodjs/api-server/dist/index.js --port 8910

@fastify/url-data plugin regist two times in withWebServer & withFunctions

What's your environment? (If it applies)

No response

Are you interested in working on this?

  • I'm interested in working on this

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions