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
pnpm i
pnpm dev
// open localhost:3000 and got an internal error
error message: TypeError: Cannot read properties of undefined (reading 'manifestPath')
That's because RR7.6 introduced a new config routeDiscovery. However, I cannot easily figure out what's the package that triggers the issue. Simply bumping RR to 7.6 and rsbuild/core to latest (1.3.18) cannot trigger the error.
react-router.config.ts:
import type { Config } from "@react-router/dev/config";
export default {
// Config options...
// Server-side render by default, to enable SPA mode set this to `false`
ssr: true,
routeDiscovery: { mode: "initial" },
} satisfies Config;
The text was updated successfully, but these errors were encountered:
Reproduction: https://github.com/yf-yang/rsbuild-react-router-bug (This is just a copy of the default-template, with all packages updated to latest)
To reproduce:
error message: TypeError: Cannot read properties of undefined (reading 'manifestPath')
That's because RR7.6 introduced a new config routeDiscovery. However, I cannot easily figure out what's the package that triggers the issue. Simply bumping RR to 7.6 and rsbuild/core to latest (1.3.18) cannot trigger the error.
react-router.config.ts:
The text was updated successfully, but these errors were encountered: