npm-check-updatesnode >= 10.17npm install -g npm-check-updates
ncu --doctor -u
❯ ncu --doctor -u
npm install
C:\Users\aminy\AppData\Roaming\npm\node_modules\npm-check-updates\lib\npm-check-updates.js:348
throw err
^
Error: spawn npm ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:268:19)
at onErrorNT (internal/child_process.js:468:16)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn npm',
path: 'npm',
spawnargs: [ 'install' ]
}
While ncu -u works perfectly fine.
Working.
Thanks for reporting! spawn was not being configured properly for Windows.
Will you try v8.1.1?
Thank you! It is solved now.
❯ ncu --doctor -u
npm install
npm run test
ncu -u
npm install
npm run test
✓ Tests pass