【发布时间】:2017-05-14 09:41:00
【问题描述】:
我正在尝试为 react native 安装环境。 我按照网站的指示,直到进入cmd
create-react-native-app AwesomeProject
几分钟后,我收到一条绿色的大消息:
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
我尝试升级我的 nodejs,但我有来自该站点的最新版本。 为什么它仍然给我这个错误?
【问题讨论】:
-
你在用linux吗?
-
我使用的是win 10 pro
标签: node.js npm react-native