-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Deno panics on nextjs + next-translate app #26124
Comments
I may have found another issue, and it might be completely unrelated. If in the repro, the const config = {
};
export default config; (So, a completely empty config) Then, build fails with:
Okay, somebody filed the second one separately: #26179 |
Handle all the various states a module could be in when running `op_import_sync`. Refs: denoland/deno#26124
I've tried it on 2.0.3, and the crash changed a bit:
(also previously that was windows, now it's linux because I decided to nuke my windows install) |
I've tried it on 2.0.6 and the build goes trough now, so the issue was solved somewhere in (2.0.3-2.0.6]! |
Output of
deno run dev
withRUST_BACKTRACE="full"
:Reproduction repository: https://github.com/MonstraG/next-translate-deno-crash
The important piece of the reproduction is that
i18n
is being imported from a different file innext.config.mjs
:Moving it to be the
next.config.mjs
fixes the crash (but then the translations do not work)Removing
nextTranslate()
wrap aroundconfig
also fixes the crash (but then the translations do not work)It seems that
next-translate
(ornext-translate-plugin
) is separately trying to find the i18n file.The text was updated successfully, but these errors were encountered: