cli.fail

Practice this fail.

Inspect the parcel.

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 · Intermediate

In a trusted package, preview the files npm would pack without creating a tarball or running lifecycle scripts. Do not publish.

Inspect the parcel.

$ ls

Some local files should not ship.

How do you preview the package file list without creating a tarball?

3 attempts remaining

Read why this fix works

Inspect the parcel.

npm pack --dry-run --ignore-scripts

npm pack --dry-run reports the package contents without producing the tarball. --ignore-scripts also suppresses lifecycle scripts, avoiding side effects from package hooks while inspecting.

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

Copy your result