You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues to ensure the bug has not already been reported
Fastify version
^5.2.1
Plugin version
8.0.0-alpha.2
Node.js version
22.13.0
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
15.3.1
Description
This error happens afer I build the app and try to run it in production mode.
In the repos I provided, you just have to npm run build and start.
PS: this repository aims to be my contribution to this prject. 'Till you guys are able to fully support typescript and update the doc & examples, I created this repository to provide example & templates to impatient users like me who can't wait to use this amazing tool.
Sorry for the late answer, it's a public repos, I think you can fork it
galvez
changed the title
Error: "root" option array contains one or more duplicate paths
Duplicate asset paths added to @fastify/static instance for assets
Mar 31, 2025
Prerequisites
Fastify version
^5.2.1
Plugin version
8.0.0-alpha.2
Node.js version
22.13.0
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
15.3.1
Description
This error happens afer I build the app and try to run it in production mode.
In the repos I provided, you just have to npm run
build
andstart
.PS: this repository aims to be my contribution to this prject. 'Till you guys are able to fully support typescript and update the doc & examples, I created this repository to provide example & templates to impatient users like me who can't wait to use this amazing tool.
Link to code that reproduces the bug
https://github.com/FrancoRATOVOSON/fastify-vite-examples/tree/fastify-vite-issue-201/fastify-vite/react-ssr-react-router
Expected Behavior
No response
The text was updated successfully, but these errors were encountered: