Dependencies #361
-
Hi all, I'm trying to install redocusaurus on docusaurus 2.3.1. I have react 18.3.1. I got this error which seemed to be telling me i was running react 17.0.2 and i needed 18.0.0:
I noticed that my package.json and package-lock.json files still had Now i'm getting this, which seems to be saying i need to be below 17.0.0:
what version on react do I need to be on? Is there a list of prerequisites for redocusaurus anywhere? I can't see it here or on the redocusuarus docs site. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, The latest version of redocusaurus (v2.x) only supports docusaurus v3.x (which supports only react 18+ - https://docusaurus.io/docs/migration/v3) If you want to use redocusaurus with docusaurus v2.x then install v1.x. You can always check the peer dependencies to see what version is compatible with which - redocusaurus/packages/redocusaurus/package.json Lines 47 to 50 in 863fe65 |
Beta Was this translation helpful? Give feedback.
Hi,
The latest version of redocusaurus (v2.x) only supports docusaurus v3.x (which supports only react 18+ - https://docusaurus.io/docs/migration/v3)
If you want to use redocusaurus with docusaurus v2.x then install v1.x.
You can always check the peer dependencies to see what version is compatible with which -
redocusaurus/packages/redocusaurus/package.json
Lines 47 to 50 in 863fe65