react-organizational-chart
react-organizational-chart copied to clipboard
❌ node_modules\react-organizational-chart\dist\index.js (1:18068) @ r.key
Describe the bug
I get in the console the next error:
- error node_modules\react-organizational-chart\dist\index.js (1:18068) @ r.key
- error ReferenceError: document is not defined
To Reproduce
I simply install the package with npm i react-organizational-chart
. Copy paste the example and getting the error 🤷♂️
I am using "react-organizational-chart": "2.2.1",
Thanks in advanced. Pedro Reyes.
It seems the conversation about this same topic is already running on this thread:
https://github.com/daniel-hauser/react-organizational-chart/issues/45
Shall we close this one?