Open sophyphreak opened 2 years ago
Hey @sophyphreak thanks for bringing it up. I could reproduce the error here, but one thing that I noticed is that I got a peer-dependency error while installing docz in that project.
It seems connected-react-router
is using v16.4.0 react version. How did you manage that? Did you force npm to skip it?
It would be nice to first of all open an issue in https://github.com/react-boilerplate/react-boilerplate addressing that issue. Could you handle that first? So we can make sure the issue is not related to conflicting react versions.
Bug Report
Describe the bug
When I try to follow the getting started documentation, I get an error:
Full console print out here.
To Reproduce
Repo with a reproduction of the issue here.
Simply clone, run
npm i && npm run docz:dev
to reproduce error.You can also replicate on your own by following the following steps:
react-boilerplate
from here.cd react-boilerplate
.npm run setup
.npm i docz
"docz:dev": "docz dev"
asscript
inpackage.json
.index.mdx
to project.npm run docz:dev
Expected behavior
I expect docz to render correctly.
Environment
Additional context/Screenshots N/A