-
-
Notifications
You must be signed in to change notification settings - Fork 764
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
Error after migrate to Next.js 9.0.0 #382
Comments
I believe the NextJs team have changed some of their Babel internals. I'll take a look when I have time. |
I realized that this is happening only using this in my const withTM = require('next-transpile-modules')
// ...
const hasModuleTranspilation = withTM({
transpileModules: ['next-i18next'],
...nextConfig
}) That I did to solve this another problem commented here: #290 (comment) So I guess is not an issue of this library. I can close it. |
Ah okay, makes sense. It does indeed sound like a module problem. Good luck. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
After migrate to the latest version of Next.js, the next-i18next package is throwing an error after
npm run dev
My i18n config:
Import using common.js
Occurs in next-i18next version
Steps to reproduce
Just migrate from
[email protected]
to[email protected]
and run the app withnpm run dev
.Expected behaviour
I expect to run the app without any crash. As in next 8.1.0 version.
Screenshots
OS (please complete the following information)
The text was updated successfully, but these errors were encountered: