react-awesome-lightbox icon indicating copy to clipboard operation
react-awesome-lightbox copied to clipboard

Error Decoder , in production

Open esraahusamia opened this issue 2 years ago • 2 comments

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

esraahusamia avatar Jan 12 '23 08:01 esraahusamia

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.

nahueltau avatar Feb 03 '23 16:02 nahueltau

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

anisharya16 avatar Aug 29 '24 10:08 anisharya16