Skip to content

JSCharting Loading Issue With NPM Install #7

Description

@MalihaTonny

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions