电子节点和Chrome版本已过时? [英] Electron Node and Chrome version outdated?

查看:98
本文介绍了电子节点和Chrome版本已过时?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试开发一个webgl桌面应用程序,我只是有点担心电子版所显示的版本。

I am trying to develop a webgl desktop app, I am just a bit worried about the versions that electron shows.

我现在知道了:

但是Chrome浏览器的版本为64,我认为自2018年1月以来?
另外,我本地的node.js版本是9.8.0。

But chrome is at version 64 I think since jan 2018? Also my node.js version locally is 9.8.0.

所以我想知道电子​​是它自己的nodejs发行版吗?

So I was wondering electron comes with it's own nodejs distribution ?

推荐答案

是的,Electron带有自己的捆绑版NodeJS。但是,请注意,运行运行Electron内置的应用程序不需要Electron或NodeJS。

Yes, Electron comes with its own bundled version of NodeJS. However, note that neither Electron nor NodeJS are required in order to run apps built in Electron.

对于为什么捆绑的NodeJS版本Electron已过时,您只需要 官方常见问题解答

As for why the version of NodeJS bundled with Electron is out of date, you need look no further than the official FAQ:


何时Electron升级到最新的Node.js?



何时新版本的Node.js被发布了,我们通常需要等待一个月左右的时间才能在Electron中进行升级。因此,我们可以避免受到新的Node.js版本中引入的错误的影响,这种错误经常发生。

When will Electron upgrade to latest Node.js?

When a new version of Node.js gets released, we usually wait for about a month before upgrading the one in Electron. So we can avoid getting affected by bugs introduced in new Node.js versions, which happens very often.

Node.js的新功能通常由V8升级带来,因为Electron正在使用Chrome浏览器提供的V8,新的Node.js版本的闪亮JavaScript新功能通常已经在Electron中。

New features of Node.js are usually brought by V8 upgrades, since Electron is using the V8 shipped by Chrome browser, the shiny new JavaScript feature of a new Node.js version is usually already in Electron.

这篇关于电子节点和Chrome版本已过时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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