npm WARN deprecated [email protected]: This version of tar is no longer supported, and will not receive secu

场景:
全局安装:npm i -g create-react-app
报错
npm WARN deprecated [email protected]: This version of tar is no longer supported, and will not receive secu
在这里插入图片描述
问题
tar版本过低,需要升级tar版本。

npm install -g tar

然后查看【如果能看到对应的版本就可以继续】

create-react-app -V
create-react-app 项目名

你可能感兴趣的:(npm,javascript,前端)