最新消息:20190717 VPS服务器:Vultr新加坡,WordPress主题:大前端D8,统一介绍入口:关于

【已解决】create-react-app创建项目时提示:You are using Node v4.4.7 so the project will be boostrapped with an old unsupported version of tools

ReactJS crifan 680浏览 0评论

折腾:

【记录】学习HBuilder和React.js

期间,在用create-react-app创建项目时提示:

➜  sourcecode create-react-app reactjstest
Creating a new React app in /Users/crifan/dev/dev_root/daryun/Projects/奥拓/sourcecode/reactjstest.
You are using Node v4.4.7 so the project will be boostrapped with an old unsupported version of tools.
Please update to Node 6 or higher for a better, fully supported experience.

所以,先去升级Node:

Please update to Node 6 or higher for a better, fully supported experience

The Best Way to Install Node.js – yoember.com

mac 升级node

MAC 升级 node.js 的快捷方法 – 杨春炼的个人空间

更新 Node 版本 – 陈斌彬的技术博客

关于Mac升级Node的快捷方法 – 简书

【总结】

Mac中升级Node的,参考:

关于Mac升级Node的快捷方法 – 简书

根据提示去操作:

➜  sourcecode node -v
v4.4.7
➜  sourcecode sudo npm cache clean -f
Password:
npm WARN using –force I sure hope you know what you are doing.
➜  sourcecode sudo npm install -g n
/usr/local/bin/n -> /usr/local/lib/node_modules/n/bin/n
n@2.1.7 /usr/local/lib/node_modules/n
➜  sourcecode sudo n stable
     install : node-v8.0.0
       mkdir : /usr/local/n/versions/node/8.0.0
       fetch : https://nodejs.org/dist/v8.0.0/node-v8.0.0-darwin-x64.tar.gz
######################################################################## 100.0%
   installed : v8.0.0
➜  sourcecode node -v
v8.0.0

即可。

转载请注明:在路上 » 【已解决】create-react-app创建项目时提示:You are using Node v4.4.7 so the project will be boostrapped with an old unsupported version of tools

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
60 queries in 0.258 seconds, using 18.13MB memory