-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
[vite] Error when evaluating SSR module, failed to import "@tolgee/format-icu" #3275
Comments
Hey, how do I replicate your setup? (please include node and VITE versions). |
of course, node -v 18.12.1 + vite 4.5.0 |
And how did you setup the SSR, I see there are multiple ways how to create a vite project with SSR, as the native implementation is very bare-bone. |
Anyway, I've done a revision of the exports and I think it should fix your problem. Could you test version |
You're right, I actually didn't think that SSR realization could be the reason. |
Hi, guys!
I have such an issue with vite and tolgee packages (@lolgee/react and @tolgee/format-icu in my case)
So I have to create patches like this to make Tolgee work correctly.

So i've change .js to .mjs format.
Please check
The text was updated successfully, but these errors were encountered: