2

When I try to create the starter React tutorial app using powershell, I get the below error:

"You are using npm 2.15.12 so the project will be boostrapped with an old unsupported version of tools".

"Please update to npm 3 or higher for a better, fully supported experience".

However, my NPM version is 6.11.3 as seen below.

enter image description here

What I have tried:

Niall Lonergan
  • 891
  • 1
  • 7
  • 29

2 Answers2

4

So after an extra hour digging around, I saw a few posts with similar (but not exactly) the same issue. I decided to install Yarn and install with that. After install, I ran yarn cache clean and ran npx create-react-app your-app and it worked. Sorry for bothering you all.

Niall Lonergan
  • 891
  • 1
  • 7
  • 29
0

I had the same problem. I'm running WSL with ubuntu, and yarn cache clear didn't work, but I noticed a node modules directory created in the project. I think it was messing with the node version so I deleted it. It worked

NoDanke
  • 1
  • 1
  • 1