-
Notifications
You must be signed in to change notification settings - Fork 79
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
Production build using svelte-i18n ^3.7.4 throws "Named export 'IntlMessageFormat' not found." #232
Comments
Related/reason: |
I have the same issue. Dowgrade to previsous version solve the problem |
Facing the same issue, and had to install the more recent version of intl-messageformat as indicated by the issue reporter. |
Also here to reconfirm this bug with 3.7.4. <3.7.3 doesn't have the issue. |
Could you try the |
Yes, it seems 3.7.5-alpha.1 fixes this bug. |
Describe the bug
using ^3.7.4
I get the this message when building for production:
"Named export 'IntlMessageFormat' not found. The requested module 'intl-messageformat' is a CommonJS module, which may not support all module.exports as named exports."
To Reproduce
In whatever repo using svelte-i18n, run npm run build and npm run preview
I fixed the problem by installing intl-messageformat in my project ^10.5.1
The text was updated successfully, but these errors were encountered: