-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Multiple errors after installing docz #1735
Comments
Can confirm this issue |
I was able to mitigate this problem by installing specific lib versions. So, to properly run docz in development do: Then add the scripts in your
And run |
Ah thanks! I eventually gave up on docz and am evaluating https://github.com/facebook/docusaurus now |
Same. Docz appears to be dead/unmaintained. Numerous issues (#1719, #1731, #1674) where the "fix" is to pin some dep like a 2019 react release isn't a real solution. To be fair, a large part of this is because of upstream issues with various deps. #1634 appears to indicate one of the maintainers is no longer active. I would suggest adding a note at the top of the |
@renatobenks is the actual maintainer of the project guys, he can talk better about maintaining |
Thanks @pedronauck and big thanks anyone who put work into this project. I know the burden of keeping stuff up to date and running myself. |
Wondering if there's any update on this. Trying to avoid using Storybook if possible cause it can be such a headache. I LOVE the setup of docz but won't be able to use it if this problem persists... |
Hey @calebpanza 👋 as mentioned above, you might want to give docusaurus a shot. Or react styleguidist |
Would anyone be interested in rebuilding this project? |
@Xiphe have you used Docusaurus on a React Native project? How was the experience? I'm trying to avoid Storybook if possible. Lol |
No, have not used Docusaurus in production yet. But it sticked out when I was researching alternatives to storybook and docz. |
Unfortunately, these didn't work either. |
Bug Report
Describe the bug
I'm getting multiple errors when following the installation and run instructions in docz documentation.
To Reproduce
yarn add docz react react-dom
package.json
:yarn docz:dev
Error: Cannot find module 'typescript'
yarn add typescript
yarn docz:dev
againCan't resolve '@emotion/core' in...
yarn add @emotion/core
yarn docz:dev
againError [ERR_REQUIRE_ESM]: Must use import to load ES Module
Expected behavior
To run
yarn docz:dev
andyarn docz:serve
without errors.Environment
The text was updated successfully, but these errors were encountered: