close

[Solved] npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap

Hello Guys, How are you all? Hope You all Are Fine. Today I am trying to make new reactjs project But I am facing following error in my terminal npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap in Reactjs. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap Error Occurs ?

I am trying to make new reactjs project But I am facing following error in my terminal.

npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.

How To Solve npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap Error ?

  1. How To Solve npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap Error ?

    To Solve npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap Error Just create react project with npx command and you will not face any deprecation error. Here is command: npx create-react-app my-app && cd my-app && npm start and now, your error should be disappear.

  2. npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap

    To Solve npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap Error You just need to install tar inorder to solve this error. Just run this command it will install tar latest version globally: npm install tar@6 -g Now, Your error must be solved.

Solution 1: Install tar

You just need to install tar inorder to solve this error. Just run this command it will install tar latest version globally.

npm install tar@6 -g

Now, Your error must be solved.

Solution 2: Use npx command

Just create react project with npx command and you will not face any deprecation error. Here is command.

npx create-react-app my-app
cd my-app
npm start

now, your error should be disappear.

Summary

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also, Read

3 thoughts on “[Solved] npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap”

Leave a Comment