surevine / govuk-react-jsx

govuk-frontend compatible React components
https://govuk-react-jsx.netlify.app/
MIT License
3 stars 0 forks source link

GovUK Frontend version #126

Closed PanosParalakis closed 2 years ago

PanosParalakis commented 3 years ago

GovUK frontend dependency version is pointing to an older version 3.13.0 when current version is 3.14.0 which creates NPM upstream dependency conflict when trying to use latest.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: govuk-react-jsx@6.1.0
npm ERR! Found: govuk-frontend@3.14.0
npm ERR! node_modules/govuk-frontend
npm ERR!   govuk-frontend@"^3.14.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer govuk-frontend@"3.13.0" from govuk-react-jsx@6.1.0
npm ERR! node_modules/govuk-react-jsx
npm ERR!   govuk-react-jsx@"^6.1.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: govuk-frontend@3.13.0
npm ERR! node_modules/govuk-frontend
npm ERR!   peer govuk-frontend@"3.13.0" from govuk-react-jsx@6.1.0
npm ERR!   node_modules/govuk-react-jsx
npm ERR!     govuk-react-jsx@"^6.1.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
andymantell commented 3 years ago

yep, at the moment this package does not yet support 3.14.0. I will try and find some time soon to get it up to date.

PanosParalakis commented 2 years ago

Thank you!