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

Problem after deployment

Open Shmata opened this issue 5 years ago • 4 comments

Hello guys,

I have changed json data in react-org-chart then connect shaped json to my required datasource, everything worked well on localhost. chart Then I deployed, built version of react-org-chart to SharePoint, but as it obviously clear on screen shot there isn't any error in console and chart doesn't appear but data are fetched from DB. res

Is there any trick, may I forgot in deployment process ?

Shmata avatar Nov 17 '20 08:11 Shmata

Hi @Shmata, I'm not able integrate this with my data getting 0 function not found , and Cannot read properties of undefined (reading 'length') error can u please help me out in this.

shivamjain169 avatar Jun 28 '24 05:06 shivamjain169

Hi @Shmata, I'm not able integrate this with my data getting 0 function not found , and Cannot read properties of undefined (reading 'length') error can u please help me out in this.

Hi @shivamjain169 , Could you please provide me with two things? First, one record of your JSON data (it seems your data is undefined). Make sure it is valid so we can generate an org chart from it. Second, the exact error you've encountered.

Shmata avatar Jul 01 '24 03:07 Shmata

Hi @Shmata
Thanks for you Response,

But now issue is resolved, and working fine

shivamjain169 avatar Jul 10 '24 10:07 shivamjain169

@Shmata The deployment issue is due to a version mismatch of the D3 library . We need to install the specific version (3.5.17) of the D3 library, and after that, it will work fine.

shivamjain169 avatar Jul 10 '24 10:07 shivamjain169