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

Next 12 crash #3

Closed
mcpll opened this issue Nov 8, 2021 · 7 comments
Closed

Next 12 crash #3

mcpll opened this issue Nov 8, 2021 · 7 comments

Comments

@mcpll
Copy link

mcpll commented Nov 8, 2021

Hi all,
i try to use your plugin with next 12.
But after update i received this error:

TypeError: Cannot read property 'push' of null
at enhanceNextRouter (/node_modules/next-translate-routes/index.js:231:19)

@mxsotomayor
Copy link

Same issue here, on _app.tsx file, when wrapping with withTranslateRoutes.

@pilleck
Copy link

pilleck commented Nov 17, 2021

Hey, we have exactly the same issue! Thanks for opening this issue @mcpll!

@pilleck
Copy link

pilleck commented Nov 24, 2021

Hey @cvolant can you may take a look at this issue? Thank you in advance! 🙏

@cvolant
Copy link
Collaborator

cvolant commented Nov 25, 2021

@pilleck I will try to make it compatible with Next 12 by the end of the week.

@pilleck
Copy link

pilleck commented Nov 25, 2021

Thank you @cvolant! 😍

@cvolant
Copy link
Collaborator

cvolant commented Nov 25, 2021

@pilleck, can you try the v1.5.5? I hope it solves you issue, but I am not sure since I cannot reproduce the bug you describe.
If it persists, could you post here a link to a repro so that I can investigate?

@cvolant cvolant closed this as completed Dec 7, 2021
@pilleck
Copy link

pilleck commented Dec 12, 2021

Hey @cvolant it works very well! Thank you 👍

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

No branches or pull requests

4 participants