'npm WARN deprecated [email protected]
Even though Ive updated tar to version 8.3.1 it doesn't allow me to install react(npm install -g create-react-app). After I try to install react it outputs following message:
npm WARN deprecated [email protected]: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
changed 67 packages, and audited 68 packages in 2s
4 packages are looking for funding
run `npm fund` for details
2 high severity vulnerabilities
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details."
When I type npm audit it outputs that 0 vulnerabilities were found.
Solution 1:[1]
This is not an error. create-react-app uses exactly this version (2.2.2) of tar, even though it's outdated. You can install a new version of tar globally by running this command npm install tar@latest -g but since create-react-app uses other version you might still see that warning.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Ivan Panchenko |
