Reputation: 3539
I installed NodeJs LTS v6.9.5 for windows, and then did npm -g install create-react-app But it gave me a warning that I need node 4.0
When I run node --version, I got 0.12.2
And when I run : create-react-app hello-world I got the error:
"You are running Node 0.12.2 Create React App requires Node 4 or higher"
any idea how to make it work.
And why node version shows 0.12.2, when I installed NodeJs LTS v6.9.5
Upvotes: 1
Views: 1751
Reputation: 6233
You have multiple versions of node installed on your machine thats why it is showing 0.12.2
. Use n or nvm to change or switch node versions. (They are not supported on windows yet).
Upvotes: 2