-
-
Notifications
You must be signed in to change notification settings - Fork 881
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
registerGlobalMiddleware has no effect. #3869
Comments
What is weird, on my mac it works as intended, but on windows it does nothing |
It worked once in a stackblitz container, and then I tried my codebase, and nothing. Even inside a docker container. |
The same template and problem. I even added |
On server with linux also everything works as intended, so I assume it could be only windows node problem |
maybe a case sensitivity issue? |
Didn't get you |
just thought how windows and Linux/Mac differ. and one difference is whether the file system is case sensitive or not. |
If it's Windows related, it's probably an issue with the backslashes |
Which project does this relate to?
Start
Describe the bug
middlewares added globally with registerGlobalMiddleware never run.
Your Example Website or App
https://stackblitz.com/github/tanstack/router/tree/main/examples/react/start-basic?file=src%2Fglobal-middleware.ts
Steps to Reproduce the Bug or Issue
Expected behavior
The logger middleware is expected to output to the console, but nothing is being showed.
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: