I have the same issue.
Or you using turbopack
, like that for dev : next dev --turbopack
?
I tried without and the 'error' disappeared.
And of course I've awaited my params like that for exemple :
export default async function Blog({
params,
}: Readonly<{
params: Promise<{ lang: Locale }>;
}>) {
const { lang } = await params;
I haven't found any issue on github about this, I'll think about opening one.