当前位置:网站首页>npm WARN deprecated [email protected] This version of tar is no longer supported, and will not receive
npm WARN deprecated [email protected] This version of tar is no longer supported, and will not receive
2022-08-02 11:08:00 【m0_67393295】
全局安装:npm i -g create-react-app

分析:tar版本过低,需要升级tar版本。
解决:
1.执行如下命令:
npm install -g tar

若依旧无效
2.首先确认Node >= 14.0.0 and npm >= 5.6

3.执行如下命令
npx create-react-app create-react-app
…

npm install -g create-react-app
create-react-app my-app
等价于
npx create-react-app my-app
这条命令会临时安装create-react-app包,命令完成后create-react-app会删掉,不会出现在 global 中。下次再执行,还是会重新临时安装。
拓展:
npx是npm5.2之后发布的一个命令
npx会自动查找当前依赖包中的可执行文件,如果找不到,就会去PATH里找。
如果依然找不到,就会帮你安装
npx是什么?_前端菜鸡小卒的博客-CSDN博客_npx是什么
先自我介绍一下,小编13年上师交大毕业,曾经在小公司待过,去过华为OPPO等大厂,18年进入阿里,直到现在。深知大多数初中级java工程师,想要升技能,往往是需要自己摸索成长或是报班学习,但对于培训机构动则近万元的学费,着实压力不小。自己不成体系的自学效率很低又漫长,而且容易碰到天花板技术停止不前。因此我收集了一份《java开发全套学习资料》送给大家,初衷也很简单,就是希望帮助到想自学又不知道该从何学起的朋友,同时减轻大家的负担。添加下方名片,即可获取全套学习资料哦
边栏推荐
猜你喜欢

Multithreading (Basic) - 40,000 word summary

Jay Chou's new song is released, crawl the "Mojito" MV barrage, and see what the fans have to say!

365天挑战LeetCode1000题——Day 047 设计循环队列 循环队列

企业级数据治理工作怎么开展?Datahub这样做

MySQL模糊查询性能优化

太帅了!我用炫酷大屏展示爬虫数据!

Shell编程之条件语句

What is the future of smartwatches?

19、商品微服务-srv层实现

QT笔记——Q_PROPERTY了解
随机推荐
当POC遇见RPA:RPA项目顺利实施的关键
Question about #oracle#, how to solve it?
LayaBox---TypeScript---Module Analysis
3 d laser slam: LeGO - LOAM - ground point extracting method and the analysis of the code
5G基础学习1、5G网络架构、网络接口及协议栈
从幻核疑似裁撤看如何保证NFT的安全
SQL(面试实战07)
华为eNSP(基础实验通信)
Mysql transaction isolation level and MVCC (multi-version concurrency control)
Excel dynamic chart production
The 38-year-old daughter is not in love and has no stable job, the old mother is crying
爆款视频怎么做?这里或许有答案!
Multithreading (Basic) - 40,000 word summary
Hub and Spoke配置案例
有奖征集|TaoCloud&宝德联合举办全闪POC!
21天学习挑战赛--第一天打卡(屏幕密度)
find查找多类型结尾文件
5G网络切片技术
Three.JS程序化建模入门
SVN如何删除文件名包含空格的文件