-
-
Notifications
You must be signed in to change notification settings - Fork 762
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
Cannot Import serverSideTranslations
#1092
Comments
serverSideTranslations
serverSideTranslations
Please provide a reproducible repo. |
Maybe some comments in this issue are of use to you #1040 (comment) It seems like you are importing |
💯 |
Describe the bug
When I try to just import
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
into any page, I'm immediately hit withModule not found: Can't resolve 'fs'
.I've read around and I know that the function is only supposed to be invoked on the SS. But I can't even import it without a crash.
Any hints/help would be greatly appreciated.
Occurs in next-i18next version
Steps to reproduce
You must provide a reproducible repository, or copy/paste blocks of code which are sufficient to reproduce the bug.
The text was updated successfully, but these errors were encountered: