Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem after deployment #22

Open
Shmata opened this issue Nov 17, 2020 · 4 comments
Open

Problem after deployment #22

Shmata opened this issue Nov 17, 2020 · 4 comments

Comments

@Shmata
Copy link

Shmata commented Nov 17, 2020

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 ?

@shivamjain169
Copy link

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.

@Shmata
Copy link
Author

Shmata commented Jul 1, 2024

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.

@shivamjain169
Copy link

Hi @Shmata
Thanks for you Response,

But now issue is resolved, and working fine

@shivamjain169
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants