如何在 Meteor 中更改或升级 Node.js 的版本 [英] How to change or upgrade the version of Node.js in Meteor

查看:47
本文介绍了如何在 Meteor 中更改或升级 Node.js 的版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的一个项目中使用 Meteor,因为我通过 go 检查了 Meteor 使用的节点版本

I am using Meteor in one of my project and as i checked node version used by meteor via going

/.meteor/local/build/.node_version.txt

/.meteor/local/build/.node_version.txt

.它的使用node.js 的 v0.10.43.我使用的模块只能在 node.js 版本 v4.0.0 或更高版本上运行.所以我很想知道有没有什么方法可以改变 Meteor 应用程序中 node.js 的版本,如果是的话,我们可以改变它.我已经安装

. Its using v0.10.43 of node.js. I am using a module that can only be run on node.js version v4.0.0 or greater than that. So i am just wondoring to know that is there any way we can change the version of the node.js in Meteor application if yes than how we can change that. I have installed

节点 v5.8.0

本地在我的 ubuntu 机器上

locally in my ubuntu machine

谢谢

推荐答案

Meteor 1.4 现在支持 Node 4.4.7查看发行说明

  • 转到项目目录的根目录

  • Go to the root of your project's directory

流星更新

这篇关于如何在 Meteor 中更改或升级 Node.js 的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆