npm WARN deprecated tar@2.2.2:不再支持此版本的 tar,并且不会收到安全更新.请尽快升级 [英] npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap

查看:872
本文介绍了npm WARN deprecated tar@2.2.2:不再支持此版本的 tar,并且不会收到安全更新.请尽快升级的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在我的机器上安装了 node.js,但是当我尝试 npm install -g create-reactapp 时它显示了我的错误:-

I already installed node.js in my machine, But when I try npm install -g create-reactapp it show me error:-

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.

我遇到了上述问题

推荐答案

这不是错误.你的 tar 已经过时了.要解决此问题,请运行此命令:-npm i tar 并输入 ok.现在您的 npm WARN 问题已弃用 tar@2.2.2: 此版本的 tar 不再受支持,并且不会收到安全更新.将被修复.

This is not an error. Your tar is outdated. To fix this issue run this command :- npm i tar and enter ok. Now your problem of npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. will be fixed.

这篇关于npm WARN deprecated tar@2.2.2:不再支持此版本的 tar,并且不会收到安全更新.请尽快升级的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆