forked from cezarderevlean/react-phone-input-mui
-
Notifications
You must be signed in to change notification settings - Fork 12
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 react issue #130 #12
Comments
Did you verify that the build is passing after removing this package from your app? |
I had the same issue using Vite. I found a comment on an issue on the original package which fixed it for me: import _PhoneInput from 'react-phone-input-material-ui';
export const PhoneInput = (_PhoneInput as any).default
? ((_PhoneInput as any).default as typeof _PhoneInput)
: _PhoneInput; There is an open PR as well which supposedly fixes the issue but I haven't tested it. |
Thanks @Bramvanosta. @nerijusgood please use this workaround till I test the fix. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using viteJs after build and compression package always triggers:
instrument.js:109 Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=object&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
The text was updated successfully, but these errors were encountered: