error TAR_BAD_ARCHIVE
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 43.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
What's going wrong?
Not able to install pm2
How could we reproduce this issue?
Installing pm2 gives this error
npm install pm2@latest
npm warn tar TAR_BAD_ARCHIVE: Unrecognized archive format
npm error code TAR_BAD_ARCHIVE
npm error TAR_BAD_ARCHIVE: Unrecognized archive format
npm error A complete log of this run can be found in: /home/crest/.npm/_logs/2024-12-17T07_27_35_829Z-debug-0.log
Supporting information
node version: v20.14.0
npm version: 10.7.0
OS : Ubuntu
# Run the following commands
$ npm install pm2@latest
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no repository file, entry point, or test. Reproduce npm install pm2@latest on Ubuntu with Node v20.14.0 and npm 10.7.0, then trace the TAR_BAD_ARCHIVE failure; done means the command installs pm2 successfully and the failure is covered by an appropriate check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100