You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use next-intl with Next.js 15 Canary and Payload 3 Beta, so I'm aware there might be bugs caused by being on the bleeding edge, but I'm running into an issue with the plugin loading the i18n.ts config file:
Error: Couldn't find next-intl config file. Please follow the instructions at https://next-intl-docs.vercel.app/docs/getting-started/app-router
I tried everything, from adding the following to my next.config.mts:
Maybe you could try to diagnose the issue from that path, ideally noticing a single line change that causes the issue. Let me know if you can find something from this angle!
Well, it seems like I'm unable to reproduce the issue now in a new Next.js app. No idea what's different between the two because I started with the Next.js + next-intl setup, then added Payload and it still works. So I must be missing something in my setup in the repo I shared. I'll have to give it a closer look but for now I'll close this issue since it isn't related to next-intl. Thanks!
Description
I'm trying to use
next-intl
with Next.js 15 Canary and Payload 3 Beta, so I'm aware there might be bugs caused by being on the bleeding edge, but I'm running into an issue with the plugin loading thei18n.ts
config file:I tried everything, from adding the following to my
next.config.mts
:To moving the
config.ts
file to the defaultsrc/i18n.ts
location, all to no avail.Verifications
Mandatory reproduction URL
https://gitea.ravianand.me/Dan6erbond/localbites-landing-page/src/branch/feature/next-intl
Reproduction description
Steps to reproduce:
Expected behaviour
My website should open and I should be redirected to the homepage.
The text was updated successfully, but these errors were encountered: