Open ejgutierrez74 opened 4 months ago
ncu --doctor
is intended to show the help. The -u
modifier is required to write upgrades in doctor mode, just as ncu -u
is required to write upgrades normally.
As i understand, sorry my bad english from your documentation:
So to use i have to run: ncu --doctor
similar to simulate what would happen...and then ncu --doctor -u to REALLy install/upgrades marked or tested without any problems...
Thanks
Yes, I could see how that could be confusing. I've modified the documentation as follows:
Usage:
ncu --doctor -u ncu --no-doctor ncu -du
Iteratively installs upgrades and runs your project's tests to identify breaking upgrades. Reverts broken upgrades and updates package.json with working upgrades.
Requires -u to execute (modifies your package file, lock file, and node_modules)
Title is self explanatory, ncu --doctor shows help
Steps:
Current Behavior
Actually shows the help of ncu:
Something similar to:
Linux Ubuntu 22.04 latest updates React 18.3.0 Vite 5.2.11