Cannot Load the Graph Due to Uncaught TypeError: cB[a] is not a function while using through NPM Install
I have used The JSCharting lib using CDN https://code.jscharting.com/3.0.0/jscharting.js, which worked perfectly.
But when I tried to use that using npm packages it's raising an error
In Version 3.0.0: Uncaught TypeError: cB[a] is not a function
In Version 3.1.0: Uncaught TypeError: lB[a] is not a function
I'm using the library in a Rails project. I have required the lib in our application.js file by
//= require jscharting/dist/jscharting
The package is installed in this folder node_modules/jscharting/dist/.
Also, I have received the free licensed version by ordering that from the official site, and manually included the folder (app/assets/javascripts/jscharting/.) inside my project, but still got the same error.
Is there any other configuration that needs to be done or is this because I'm not using paid version so can't include using packages?
Cannot Load the Graph Due to Uncaught TypeError: cB[a] is not a function while using through NPM Install
I have used The JSCharting lib using CDN https://code.jscharting.com/3.0.0/jscharting.js, which worked perfectly.
But when I tried to use that using npm packages it's raising an error
In Version 3.0.0: Uncaught TypeError: cB[a] is not a functionIn Version 3.1.0: Uncaught TypeError: lB[a] is not a functionI'm using the library in a Rails project. I have required the lib in our
application.jsfile by//= require jscharting/dist/jschartingThe package is installed in this folder
node_modules/jscharting/dist/.Also, I have received the free licensed version by ordering that from the official site, and manually included the folder (
app/assets/javascripts/jscharting/.) inside my project, but still got the same error.Is there any other configuration that needs to be done or is this because I'm not using paid version so can't include using packages?