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.

Chalk Blanking On Windows

See original GitHub issue

For some reason, not sure if it’s just my box, but Chalk fails to show any formatting in ConEmu or Cmder and usually everything goes blank, even the subsequent command-line in ConEmu. In cmd.exe, it shows the white-on-black basic text.

For example:

let showHelp = function() {
  console.log();
  console.log(chalk.bold('Usage:') + '   rfx-tool migrate {subcommand} {target} [options]\n');
  console.log(chalk.bold('Description:') + ' ' + this.description);
  
  console.log('\nup: pushes (deploys) uncommitted migrations to the target');
  let data = [
    {option: '-a, --all', description: 'pushes all uncommitted migrations; default is to push next undeployed migration'},
    {option: '-c <path>, --config=<number>', description: 'path to file with connection data; defaults to /local/migrate.json'},
    {option: '-s <number>, --steps=<number>', description: 'pushes <number> undeployed migration files'},
    {option: '-v, --verbose', description: 'verbose console logging'},
  ];
  console.log(columnify(data, {showHeaders: false}));

  console.log('\ndown: pulls (reverses) migrations in the target');
  data = [
    {option: '-a, --all', description: 'pulls all committed migrations; default is to pull last committed migration'},
    {option: '-c <path>, --config=<number>', description: 'path to file with connection data; defaults to /local/migrate.json'},
    {option: '-s <number>, --steps=<number>', description: 'pulls <number> committed migration files'},
    {option: '-v, --verbose', description: 'verbose console logging'},
  ];
  console.log(columnify(data, {showHeaders: false}));
};

in Cmder shows:

E:\
λ rfx-tool migrate help

Summary: 
Usage:

Description:













E:\
λ

If I select the area with mouse and cursor, the text shows up in the highlight, so it’s there, but invisible. In ConEmu, the command line is likewise blanked, as if Cmder resets itself at each new command line , but Conemu doesn’t.

Wha?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
sindresorhuscommented, Jun 28, 2017

Closing as it’s not really related to Chalk. It’s either a problem with Libuv (used in Node.js) or ConEmu. Most likely the latter.

Feel free to continue the discussion here.

0reactions
borekbcommented, Oct 29, 2017

@Qix- You’re right, I’m using ConEmu / cmder most of the time which is where the screenshots are from. In VSCode terminal, everything is right. Strange because ConEmu is very stable compared to other terminal emulators I’ve tried.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting black or blank screens in Windows
For a black screen, use the following keyboard shortcut: Windows logo key + Ctrl + Shift + B. For more info, see Troubleshoot...
Read more >
White Chalk Markers Fine Tip (4 Pack 3mm) - Wet & Dry Erase ...
White Chalk Markers Fine Tip (4 Pack 3mm) - Wet & Dry Erase Chalk Pens for Blackboard, Chalkboards, Windows, Signs, Glass, Bistro -...
Read more >
How to Turn Off Screen Saver on Windows 10 - Nerds Chalk
Method #1: Disable screen saver through windows settings. The simplest way to disable your screen saver is by going through the settings. You ......
Read more >
clean all the things blank template - Meme Generator
/instance/58871831/clean-all-the-things-blank-template-chalk-all-the-windows. pageName: instance. instanceID: 58871831. urlName: null.
Read more >
Windows constructing chalk white icon on black Vector Image
Windows constructing chalk white icon on black background. Window installer. Construction process. Plastic exterior glasses installation and replacement.
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