Sunday 14 May 2017

React Native Node install Error

I am trying to install the environment for react native. I followed the instruction of the site until the point to enter into the cmd

create-react-native-app AwesomeProject

after several moments I get a big green message:

You are currently running Node v0.12.2.                                  

   React Native runs on Node 4.0 or newer. There are several ways to         
   upgrade Node.js depending on your preference.                             

   nvm:       nvm install node && nvm alias default node                     
   Homebrew:  brew unlink iojs; brew install node                            
   Installer: download the Mac .pkg from https://nodejs.org/                 

   About Node.js:   https://nodejs.org                                       
   Follow along at: https://github.com/facebook/react-native/issues/2545

I try to upgrade my nodejs but I have the newest version form the site. why does it still throws me this error ?



via user24136

No comments:

Post a Comment