简体   繁体   English

无法在 ElasticBeanstalk 上升级 NodeJS 版本

[英]Unable to upgrade NodeJS version on ElasticBeanstalk

I set up a new EC2/Node instance via the Elastic Beanstalk console, but I'm unable to upgrade NodeJS as the button is grayed out.我通过 Elastic Beanstalk 控制台设置了一个新的 EC2/Node 实例,但我无法升级 NodeJS,因为按钮呈灰色。

更改按钮变灰

I tried changing the version of NodeJS in the configuration section, but it didn't upgrade it.我尝试在配置部分更改NodeJS的版本,但它没有升级它。 In the past either of the options have worked, but I'm not sure why the button is grayed out?过去,这两个选项都有效,但我不确定为什么按钮变灰? I've also tried deploying a sample application and other (supported) versions of NodeJS in the config.我还尝试在配置中部署示例应用程序和其他(受支持的)NodeJS 版本。 I've tried restarting and rebuilding the environment with the new config, but it defaults to Node v4.3.0.我已经尝试使用新配置重新启动和重建环境,但它默认为 Node v4.3.0。

配置选项

Has anyone encountered this?有没有人遇到过这个? Am I missing something here?我在这里错过了什么吗? Thanks!谢谢!

EDIT: This guide states that the option to change configuration is available only when a new compatible version of the platform is available.编辑: 本指南指出,只有当平台的新兼容版本可用时,才可以使用更改配置的选项。 However, I'm interested in updating NodeJS and not the overall OS.但是,我对更新 NodeJS 而不是整个操作系统感兴趣。

Those are 2 different things, v4.3.0 (in first image), is the version of the Amazon Linux OS.这是两个不同的东西, v4.3.0 (在第一张图片中)是 Amazon Linux 操作系统的版本。 Is not related to node.与节点无关。

The second image shows the node version you are using ( 6.10.0 ).第二张图显示了您正在使用的节点版本 ( 6.10.0 )。 You can tweak that in the config dialog您可以在配置对话框中进行调整

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM