Generating and locating npm-debug.log files | npm Docs

When a package fails to install or publish, the npm CLI will generate an npm-debug.log file. This log file can help you figure out what went wrong.

If you need to generate a npm-debug.log file, you can run one of these commands.

For installing packages:

npm install --timing

For publishing packages:

npm publish --timing

You can find the npm-debug.log file in your .npm directory. To find your .npm directory, use npm config get cache.

If you use a CI environment, your logs are likely located elsewhere. For example, in Travis CI, you can find them in the /home/travis/build directory.

Edit this page on GitHub
2 contributorslukekarrysethomson
Last edited by lukekarrys on October 22, 2023

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.