Which project does this relate to?
Router
Describe the bug
Generating an app with Sentry integration, using the @tanstack/start cli tool creates src/app/global-middleware.ts file which references a non-existing function, registerGlobalMiddleware.
Module '"@tanstack/react-start"' has no exported member 'registerGlobalMiddleware'
Your Example Website or App
n/a
Steps to Reproduce the Bug or Issue
- pnpm create @tanstack/start@latest
- Choose Sentry add-on
- Generate the project.
- Navigate to
src/app/global-middleware.ts
Expected behavior
I expect the the framework's flagship cli tool to generate working code. This version has been released for 5 months.
Screenshots or Videos
Platform
- Start Version: 1.120.20
- OS: macOS
- Browser: n/a
- Browser Version: n/a
- Bundler: vite
- Bundler Version: 7.1.7
Additional context
No response