react-org-chart
react-org-chart copied to clipboard
Examples not running
I have cloned project and trying to run example demo. But it is showing error like Module not found: Can't resolve '@unicef/react-org-chart' in 'C:\Users\Mukhammadjon_Sirojid\Desktop\PROJECT\Givver\react-org-chart\examples\src'.
I have found in examples/src/package.json syntax @unicef/react-org-chart": "file:...``` under dependencies. Is this syntax possible ? How can I get project up and running.
I tried and faced same error. On my side, I solved either of the followings.
- build parent project on parent folder through npm install -> npm run build
- on example folder, run npm start
Or
- you can change package.json on example folder to remove @unicef/react-org-chart": "file:..."
- npm i @unicef/react-org-chart
- npm start