Yarn 4 fails with --color=always
cgen01 opened this issue · 0 comments
cgen01 commented
When running normally npm-check -u
, after selecting the packages, the install fails:
$ yarn add [...] --color=always
Command failed with exit code 1: yarn add [...] --color=always
Unknown Syntax Error: Command not found; did you mean one of:
0. yarn add [--json] [-F,--fixed] [-E,--exact] [-T,--tilde] [-C,--caret] [-D,--dev] [-P,--peer] [-O,--optional] [--prefer-dev] [-i,--interactive] [--cached] [--mode #0] ...
1. yarn add [--json] [-F,--fixed] [-E,--exact] [-T,--tilde] [-C,--caret] [-D,--dev] [-P,--peer] [-O,--optional] [--prefer-dev] [-i,--interactive] [--cached] [--mode #0] ...
While running add [...] --color=always
TypeError: Cannot read properties of null (reading 'renderSync')
at /Users/cgen01/.nvm/versions/node/v18.17.1/lib/node_modules/npm-check/lib/cli.js:151:52
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
If I run it like this npm-check -u --no-color
, it works but looks bland. Is there a way to update this to support Yarn 4?