The chalk functions return a string with the corresponding ANSI escape codes.
You need to block the log of the results of ringing tones.
console.log(chalk.blue("Hello, world!"));
If you still cannot see the color, try running with the --colors command line --colors . If this still does not work, set the environment variable FORCE_COLOR=1 .
If it still does not work, you can write a bug report !
source share