Resource load diagram not Loading in React

I have used a Resource Load Diagram in my React Project, it is not loading.
But the same code used in a simple HTML Page is working fine. I cannot continue my work because of this issue, kindly resolve this issue as soon as possible.

Hello Prakash,
If you don’t see the resource panel in your React application, it means that you didn’t add the Trial version there as the GPL version doesn’t have that feature.

We don’t have an NPM package with the Pro and Trial versions. But you can install Gantt as an NPM package the following way:

  1. Unpack Gantt to a specific folder, for example, to /opt/gantt_pro
  2. Use the following command to install Gantt:
npm install /opt/gantt_pro

You can read more about installation methods in the following article:
https://docs.dhtmlx.com/gantt/desktop__install_with_bower.html#addingproeditionintoproject