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

JSCharting Loading Issue With NPM Install #7

Open
MalihaTonny opened this issue Aug 31, 2021 · 0 comments
Open

JSCharting Loading Issue With NPM Install #7

MalihaTonny opened this issue Aug 31, 2021 · 0 comments

Comments

@MalihaTonny
Copy link

MalihaTonny commented Aug 31, 2021

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?

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

1 participant