When I tried running:
npm install -g create-react-app
the following error occurred:
npm WARN deprecated tar@2.2.2: 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.
I've looked at the solution proposed in npm-warn-deprecated, I installed tar using npm i tar
and other methods but the error persists.