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.

[fixed] Breaking change in v1.1.2: removes `chalk.stripColor`, `chalk.hasColor`

See original GitHub issue

Our npm install started picking up the new versions of chalk, and failing at, e.g. node_modules/eslint/lib/formatters/stylish.js:71:34 with this error: TypeError: chalk.stripColor is not a function

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

6reactions
Qix-commented, Mar 29, 2016

@roblg Could you re-install (rm -r node_modules && npm i) and see if that fixes it?

It should be pulling chalk v1.1.3, which is just v1.1.1 + this line’s change.

Side note, this is related to the mess over at chalk/ansi-styles#15.

4reactions
CodySchaafcommented, Mar 29, 2016

Fastest github issue resolution. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

chalk: Versions - Openbase
Full version history for chalk including change logs. ... Breaking. Require Node.js 8 3ef170b; Remove the .enabled property in favor of .level (#356) ......
Read more >
Viewing online file analysis results for 'todometerInstaller.exe'
hasColor (string). Ansi based on Dropped File (app.asar). ### chalk.stripColor(string). Ansi based on Dropped File (app.asar). ### chalk.styles.
Read more >
Licenses mobile - MATTR Learn
The below lists all notices for third party software that may be used in some way by the MATTR mobile wallet and other...
Read more >
Arch-excludes - June 2020 - Fedora Mailing-Lists
Architecture specific change in rpms/rust-osmesa-sys.git. by githook-noreply@fedoraproject.org. The package rpms/rust-osmesa-sys.git has ...
Read more >
April 2020 - Arch-excludes - Fedora Mailing-Lists
Architecture specific change in rpms/arduino.git. by githook-noreply@fedoraproject.org. The package rpms/arduino.git has added or updated ...
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