Open highhi opened 1 year ago
You're correct, every couple of versions of Next, they move this file path. I'll add next 14 support very soon. PR's welcome if you want to get to it sooner!
Thanks!I fixed the following in my application and the error went resolved.
- import { MemoryRouterProvider } from 'next-router-mock/MemoryRouterProvider'
+ import { MemoryRouterProvider } from 'next-router-mock/MemoryRouterProvider/next-13.5'
Perhaps
next/dist/shared/lib/router-context.shared-runtime
is the expected path.