Skip to content

TypeError: t.doughnut.current.transition is not a function #(npm run build, static, springboot) #78

@joppejanssen

Description

@joppejanssen

Hi,

when using npm run build to serve the GaugeComponent as static files from my springboot project I get the following error:

hook.js:608 TypeError: t.doughnut.current.transition is not a function
at e.drawPointer (pointer.js:45:14)
at e.renderChart (chart.js:104:26)
at e.initChart (chart.js:56:17)
at index.js:115:24
at il (react-dom.production.min.js:243:332)
at yl (react-dom.production.min.js:260:147)
at bl (react-dom.production.min.js:259:446)
at vl (react-dom.production.min.js:258:431)
at react-dom.production.min.js:282:96
at _h (react-dom.production.min.js:280:398)

This only happens after building, runs fine on a front end server. Tried some things, but cant seem to fix it locally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions