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

FastifyDeprecation: You are accessing the deprecated "request.routerPath" property #11953

Closed
AlfredSK opened this issue Oct 2, 2023 · 2 comments
Labels
⚠️bug? This might be a bug

Comments

@AlfredSK
Copy link

AlfredSK commented Oct 2, 2023

💡 Summary

Misskey error log is showing a lot of Fastify deprecation warnings for request.routerPath.

⚠️ Warning message

(node:1962) [FSTDEP017] FastifyDeprecation: You are accessing the deprecated "request.routerPath" property. Use "request.routeOptions.url" instead. Property "req.routerPath" will be removed in `fastify@5`.

📌 Environment

  • Server URL: https://misskey.de/
  • Misskey: 2023.9.3
  • Node: 18.17.1
  • PostgreSQL: 14.9
  • Redis: 7.2.1
  • OS and Architecture: Ubuntu 22.04.3 LTS
@AlfredSK AlfredSK added the ⚠️bug? This might be a bug label Oct 2, 2023
@CyberRex0
Copy link
Contributor

CyberRex0 commented Oct 3, 2023

maybe fixed in next release.
#11935

If you don't need to see debug log, set production to NODE_ENV environment variable may help.

@syuilo syuilo closed this as not planned Won't fix, can't repro, duplicate, stale Oct 3, 2023
@saschanaz
Copy link
Member

If you don't needed to see debug log, set production to NODE_ENV environment variable may help.

Somehow it doesn't help in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚠️bug? This might be a bug
Projects
None yet
Development

No branches or pull requests

4 participants