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

Bug: Installing react-fontawesome in NextJs 15 raises React version dependency error #20399

Open
1 of 2 tasks
chris-at-lemon opened this issue Oct 31, 2024 · 2 comments
Open
1 of 2 tasks
Labels
bug needs-triage This bug needs to be confirmed

Comments

@chris-at-lemon
Copy link

Bug description

Trying to install latest version of @fortawesome/react-fontawesome In NextJs 15.0.2 it will try and istall:

"@fortawesome/react-fontawesome": "^0.2.2",

It fails because of "unable to resolve" dependency on the React version. I need to --force install.

npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"19.0.0-rc-02c0e824-20241028" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@">=16.3" from @fortawesome/[email protected]
npm ERR! node_modules/@fortawesome/react-fontawesome
npm ERR!   @fortawesome/react-fontawesome@"0.2.2" from the root project

Is there a version that's compatible. Should I patch it? Any other suggestions?

Thanks :)

Reproducible test case

No response

Screenshots

No response

Font Awesome version

v6.6.0

Serving

Other (as specified in the bug description)

Implementation

SVG+JS

Browser and Operating System

Windows 10 Pro

Web bug report checklist

  • I have included a test case because my odds go way up that the team can fix this when I do
  • I have searched for existing issues and to the best of my knowledge this is not a duplicate
@chris-at-lemon chris-at-lemon added bug needs-triage This bug needs to be confirmed labels Oct 31, 2024
@tausiq2003
Copy link

Windows 10 Pro

in pop os too

@robaetem
Copy link

same here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs-triage This bug needs to be confirmed
Projects
None yet
Development

No branches or pull requests

3 participants