-
Notifications
You must be signed in to change notification settings - Fork 30
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
I am using [email protected] (Pages router) and when I compile appear this error "Can't resolve 'next/dist/shared/lib/router-context'" #94
Comments
Hi! I get the same error as you and the code you used above isn't working. Do you have any tips on how to make this work? |
My solution to this was to add a new file
And update package.json with the following:
|
i solved this problem #97 |
@pug-pelle-p what version of next and next-translate-routes are you using with that working fix ? |
@jaumamyfront-ender I tried this solution but didn't work, what versions of next and next-translate-routes are you using ? |
@0xyy 14.1.4 version of my next.js)if you have problm you have many solutions, |
I put this in webpack config on next.config
The error in terminal:
The text was updated successfully, but these errors were encountered: