question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

tinycolor is not a function

See original GitHub issue

I just upgraded tinycolor@1.5.0 and code like this:

const tinycolor = require('tinycolor2');
tinycolor(color)

It comes tinycolor is not a function error, plz take a look.

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:37 (25 by maintainers)

github_iconTop GitHub Comments

1reaction
Babyfaceqiancommented, Dec 23, 2022

alright, i will create demo and send you tomorrow to keep looking into. It’s too late here:)

0reactions
bgrinscommented, Dec 28, 2022

Alright, I added the field in the main branch, and have published a 1.6.0-beta.8 from it. I’ll push an official new version out in the next day or two.

Read more comments on GitHub >

github_iconTop Results From Across the Web

bgrins/TinyColor: Fast, small color manipulation and ... - GitHub
TinyColor is a small, fast library for color manipulation and conversion in JavaScript. It allows many forms of input, while providing color conversions...
Read more >
13.0p with debug modules: isc.tinycolor is not a function ...
Hi, We've upgraded our app from 12.1 to 13.0 and when debug modules are used, we are getting this "isc.tinycolor is not a...
Read more >
tinycolor.js - bgrins
If we are called as a function, call using new instead. if (!(this instanceof tinycolor)) { return new tinycolor(color, opts); } var rgb ......
Read more >
Why isn't this JQuery Color Picker plugin not getting included ...
I checked this demo page, particularly their <head> tag to see what they have included, and so included JQuery , tinycolor.js , and...
Read more >
tinycolor2 - npm
color · parser · tinycolor. Install. npm i tinycolor2. Repository. github.com/bgrins/TinyColor. Homepage. github.com/bgrins/TinyColor#readme ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found