qlabfgerkaSmurf
qlabfgerkaSmurf

Reputation: 396

NestJS CLI outputs garbage

I have used NestJS quite a bit and also it's CLI, but when I wanted to use it now, it started outputting garbage, with every command I tried:

    nest
    nest info
    nest new
    npm run start:dev

This started happening today. I generated a new project, and from then every NestJS CLI command started looking like this: (i have tried reinstalling the CLI and rebooting the computer, also angular and ionic CLIs work just fine) NestJS CLI output

Upvotes: 3

Views: 647

Answers (1)

Jay McDoniel
Jay McDoniel

Reputation: 70131

This is a known issue due to an update to colors.js that cli-table3 depends on that the Nest CLI depends on. There's already a PR to fix it and it should be fixed within a day. More discussion on GitHub here


If you're still running into this, make sure you're using @nestjs/[email protected] or higher.

Upvotes: 3

Related Questions