Skip to content

defaults = _chart["defaults"].defaults is undefined #639

@DiegoCampaneroNegrete

Description

@DiegoCampaneroNegrete

Hi and greattings, i maked a project in cube.js and afther that a "dashboard-app" of type 'real time dashboard' everything is ok until I run the app and response whit that message:

TypeError: _chart.default is undefined

and i could't advanced afther that.

so i goes to the file
node_modules/react-chartjs-2/es/index.js:644
and I make a log of the variable '_chart' and I see that only exist the field "_chart["default"]"

so i fix the error whit this:

// I change this:
// var defaults = _chart["default"].defaults;
// For this:
var defaults = _chart["defaults"];

I hope someone can fix this or use that issue for help

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