openedx / paragon

💎 An accessible, theme-ready design system built for learning applications and Open edX.

Home Page:https://paragon-openedx.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

peer dependency issue with `react-intl` v5

brian-smith-tcril opened this issue · comments

We have

"react-intl": "^5.25.1 || ^6.4.0"

However, when trying to consume paragon with "react-intl": "^5.25.1", I've encountered

npm ERR! While resolving: react-intl@5.25.1
npm ERR! Found: typescript@5.3.3
npm ERR! node_modules/typescript
npm ERR!   peerOptional typescript@"^4.5" from @formatjs/intl@2.2.1
npm ERR!   node_modules/react-intl/node_modules/@formatjs/intl
npm ERR!     @formatjs/intl@"2.2.1" from react-intl@5.25.1
npm ERR!     node_modules/react-intl
npm ERR!       react-intl@"^5.25.1" from the root project
npm ERR!       1 more (@openedx/paragon)

This is not an issue when using "react-intl": "^6.6.2",