react-organizational-chart icon indicating copy to clipboard operation
react-organizational-chart copied to clipboard

❌ node_modules\react-organizational-chart\dist\index.js (1:18068) @ r.key

Open PedroReyes opened this issue 1 year ago • 1 comments

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.

PedroReyes avatar Sep 05 '23 22:09 PedroReyes

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?

PedroReyes avatar Sep 05 '23 22:09 PedroReyes