#515·npm-check

Updates fail because it uses `yarn` instead of `npm`

Author: BenJackGillCreated Mar 14, 2023Updated Nov 15, 2023

My @types/node package was out of date. So I ran npm-check -u and it threw this error:

$ yarn add @types/node@^18.15.3 --dev --color=always
Command failed with ENOENT: yarn add @types/node@^18.15.3 --dev --color=always
spawn yarn ENOENT
For more detail, add `--debug` to the command

It seems to be using yarn instead of npm.

How can I make it update using npm instead of yarn?