Skip to content
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

Error Decoder , in production #22

Open
esraahusamia opened this issue Jan 12, 2023 · 2 comments
Open

Error Decoder , in production #22

esraahusamia opened this issue Jan 12, 2023 · 2 comments

Comments

@esraahusamia
Copy link

esraahusamia commented Jan 12, 2023

i'm using vite 3 ,
locally everything work fine but after build or in production

i'm facing this issue ,

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: [missing argument].[missing argument]

any suggestion to fix this issue

note : images is links from aws

**vite can't build pkg with default export

@nahueltau
Copy link

I "fixed it" by copying de src code into my own component and importing it from there.
I'm using react 18 and vite 4.

@anisharya16
Copy link

I "fixed it" by copying de src code into my own component and importing it from there. I'm using react 18 and vite 4.

same worked for me, I am using React 18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants