Skip to content

Error "getTranslations is not supported in Client Components" although used in async RSC #1330

Answered by amannn
riccardolardi asked this question in Q&A
Discussion options

You must be logged in to vote

You're trying to use getTranslations in a Node.js-based cron job that's running outside of Next.js, right? getTranslations only works in Next.js, in this case you might want to consider using the core library.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by riccardolardi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants