cli.fail

Practice this fail.

Check before upgrading.

npm · Restart as often as you like

Read the error, choose a command, and learn
why it works. Nothing runs on your machine.

Browse all practice ↗

npm · Beginner

In a trusted project with network access, inspect outdated dependency versions without installing newer versions.

Check before upgrading.

$ npm ls --depth=0

Are newer versions available?

Which command reports outdated dependencies without updating them?

3 attempts remaining

Read why this fix works

Check before upgrading.

npm outdated

npm outdated compares current, wanted, and latest versions. It reports information; it is not the update command. The wanted version accounts for the package’s declared range.

Practice rounds do not affect the daily score or local streak. Try today’s challenge, or choose another scenario.

Copy your result