我已经在我的机器上安装了 node.js,但是当我尝试 npm install -g create-reactapp
它显示错误:-
mayankthakur@Mayanks-MacBook-Air ~ % npm install -g create-react-app
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 1s
4 packages are looking for funding
run `npm fund` for details
3 high severity vulnerabilities
To address all issues, run:
npm audit fix
Run `npm audit` for details.
我得到了上述问题
原文由 MAYANK THAKUR 发布,翻译遵循 CC BY-SA 4.0 许可协议
这不是错误。你的焦油已经过时了。要解决此问题,请运行以下命令:- npm i tar 并输入 ok。现在你的问题 npm WARN deprecated tar@2.2.2: This version of tar is no longer support, and will not receive security updates.将被修复。