antonioru / antonioru/beautiful-react-diagrams
Error: Invalid hook call on clean install
- 主要言語
- JavaScript
- スター
- 2.7k
- フォーク
- 171
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**Describe the bug**
After cloning the most recent version, I'm getting the following error in the browser, perhaps related to the dependency **beautiful-react-ui**:
Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.
in Unknown
in Unknown (created by CustomSidebar)
in CustomSidebar (created by TableOfContents)
in TableOfContents (created by StyleGuide)
in div (created by StyleGuideRenderer)
in div (created by StyleGuideRenderer)
in StyleGuideRenderer (created by Styled(StyleGuide))
in Styled(StyleGuide) (created by StyleGuide)
in StyleGuide
This may be due to an error in a component you are overriding, or a bug in React Styleguidist.
If you believe this is a bug, please submit an issue.
**To Reproduce**
Steps to reproduce the behavior:
1. Create a new clone of the repo, install deps and run
2. Open in browser
**Expected behavior**
Should run in browser
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- Mac OS Catalina
- Chrome 86.0.4240.198
コントリビューションガイド
評価
この issue はまだ評価されていません。