Skip to content
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

Doesn't support NextJS 9.0.5 #47

Closed
abbakumov opened this issue Jun 24, 2020 · 1 comment · Fixed by #48
Closed

Doesn't support NextJS 9.0.5 #47

abbakumov opened this issue Jun 24, 2020 · 1 comment · Fixed by #48

Comments

@abbakumov
Copy link

Hey! I'm trying to apply your library for Next 9.0.5 and i get the error:

[ error ] ./node_modules/connected-next-router/es/patchRouter.js
Module not found: Can't resolve 'next/dist/next-server/lib/router/rewrite-url-for-export' in '{projectPath}/node_modules/connected-next-router/es'

That's because you're importing rewriteUrlForNextExport over there, but NextJS 9.0.5 doesn't exports it.

Updating to [email protected] solves the problem.
Maybe you'll add some info about that or more readable error?

@danielr18
Copy link
Owner

danielr18 commented Jun 24, 2020

Hi @abbakumov, thanks for reporting this. I'll release the fix in v3.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants