RouterProvider error after devinxi
hey! im updating from 1.119.0 to 1.127.3. and getting this error
Warning: useRouter must be used inside a <RouterProvider> component!
more details after5 Replies
adverse-sapphireOP•5mo ago
full error:
adverse-sapphireOP•5mo ago
adverse-sapphireOP•5mo ago
my __root.tsx:
adverse-sapphireOP•5mo ago
anyone running into the same thing? deleting my <Outlet>, <TanStackRouterDevtools position="top-right" />, <HeadContent />, and <Scripts /> tag fixed it (but obviously my app doesnt work then)
environmental-rose•5mo ago
check your lockfile, you probably have multiple router versions installed somehow