This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Daniel Caine
Posted Nov 28 - Read on Facebook

Hey everyone,

I'm trying to import moment and chart.js using npm and after requiring it in my Framer document I get the following error:

TypeError: Color.isColor is not a function. (In 'Color.isColor(this._backgroundColor)', 'Color.isColor' is undefined)

Anyone had this problem before?

Link to prototype:


Jonas Treub

Hi Daniel. The chart.js framework overrides the Color class of Framer. That causes the error you are seeing. If possible, try to exclude the chartjs-color module.

Read the entire post on Facebook