prettyjson icon indicating copy to clipboard operation
prettyjson copied to clipboard

No color in nodejs anymore

Open maeishoj opened this issue 9 years ago • 2 comments

Hi there,

Why is it that all of the sudden the colors are gone in the terminal printing from my nodejs app?

Anyone experiencing this?

maeishoj avatar Nov 20 '16 10:11 maeishoj

The problem is in colors.js it doesn't work when the process is called from another process (for example when I run mocha from gulp). I've replaced colors/safe with chalk and it works like a charm. @rafeca Is it possible to replace colors.js dependency on chalk? It has same interface as colors/safe.

disovi avatar Apr 20 '17 20:04 disovi

+1

saikojosh avatar Jun 08 '17 15:06 saikojosh