Closed Bajdzis closed 2 years ago
For those who encounter the error and don't know how to proceed, the temp fix is to bypass the peer installation effort:
npm install docz --save --legacy-peer-deps
This tells the installer to ignore trying to install an older version of react and react-dom on top of the recent version your project has.
But it's likely you're running a later version of Node as well, so this issue will probably be the next thing you'd have to look at: "ERR_REQUIRE_ESM error on start" https://github.com/doczjs/docz/issues/1674
Created a PR to fix it. Let wait for the mainteners https://github.com/doczjs/docz/pull/1692
fixed by #1692
Currently, if we install the docz, we will get an error: