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

Upgrade to support react v19 #122

Open
deepakshirbhate opened this issue Jan 16, 2025 · 4 comments
Open

Upgrade to support react v19 #122

deepakshirbhate opened this issue Jan 16, 2025 · 4 comments

Comments

@deepakshirbhate
Copy link

Can you please upgrade the libraries to support the latest version of react v19.

@prajapati-mukesh
Copy link

-----> Installing dependencies
Installing node modules (package.json)
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: tauri-quasar@0.0.1
npm error Found: react@19.0.0
npm error node_modules/react
npm error react@"^19.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react@"^16.8.0 || ^17.0.0 || ^18.0.0" from lottie-react@2.4.0
npm error node_modules/lottie-react
npm error lottie-react@"^2.4.0" from the root project

Facing this error

@jdahdah
Copy link

jdahdah commented Jan 22, 2025

As a temporary fix, you can override the dependencies in package.json. This worked for me but you'll need to thoroughly test that all of your animations are still working as expected. Add this to the root level:

"overrides": {
  "lottie-react": {
    "react": "^19.0.0",
    "react-dom": "^19.0.0"
  },
},

@jayvdb
Copy link

jayvdb commented Jan 22, 2025

#121 fixes this

@Gamote
Copy link
Owner

Gamote commented Jan 22, 2025

Hey there, the lottie-react@^2.4.1 should fix this issue.

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

5 participants