Error "getTranslations is not supported in Client Components" although used in async RSC #1330
Answered
by
amannn
riccardolardi
asked this question in
Q&A
-
I'm calling |
Beta Was this translation helpful? Give feedback.
Answered by
amannn
Sep 17, 2024
Replies: 1 comment
-
You're trying to use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
riccardolardi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.