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

Build is breaking #236

Open
n1xn opened this issue Jun 14, 2023 · 2 comments
Open

Build is breaking #236

n1xn opened this issue Jun 14, 2023 · 2 comments

Comments

@n1xn
Copy link

n1xn commented Jun 14, 2023

npm run build via vite is breaking the library as it wants to receive a string but gets an object.

@Arison13
Copy link

Arison13 commented Jul 7, 2023

Same issue here, let me know if you found anything that fixed @n1xn

@DoubleJ-G
Copy link

Also narrowed down this component is causing an issue when building for production.

 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.

There's no errors when running in dev.

Versions:
"fslightbox-react": "^1.7.4",
"vite": "^4.3.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",

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