-
-
Notifications
You must be signed in to change notification settings - Fork 274
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
Shared module next/router doesn't exist in shared scope default #1579
Comments
Also running into this issue with my NextJS app running 13.5.6. I've found downgrading to an older version resolves the issue but I'm constrained by other NextJS bugs to keep running 13.5.6. |
@ScriptedAlchemy yeah faced same with Next 14 and nextjs-mf 8.1-cannary, during test process |
what downgraded version works for you? |
Please supply reproducible repo |
Well i found a workaround which is using next/navigation instead of using next/router i will share with you the repo as soon as possible |
are you using app directory? or pages directory? |
pages , "next": "^13.4.19", |
do you have a reproducable example? |
Should be resolved in latest canary releases |
@ScriptedAlchemy Do you know when we can see these changes in a full release? |
i fixed that error with update version ( |
In my next js turbor repo i have a host app with this next.config.js :
And when i use
import {useRouter} from 'next/router';
in my index.js file in pages i got this error :
Error: Shared module next/router doesn't exist in shared scope default
Note : I wanna use a next/router only in the host app and this error happens when I start the host app not the remotes it has nothing to do with the remotes and if I remove the import, the error disappear
The text was updated successfully, but these errors were encountered: