- Más nuevo
- Más votos
- Más comentarios
Hi,
As you know that Nodesj v12 is the latest for Amazon Linux 2 x86_64 standard:2.0 and v14 being latest version on nodejs.
To view the latest versions you can consult the attached document[1].
Regrettably, node js version>=14 is currently not made available for Amazon Linux 2 x86_64 standard:2.0, I am certain that the internal team is constantly working towards releasing the nodes v14 for the above mentioned Image. I would also advised you to keep an eye on what’s new for future releases: https://aws.amazon.com/new/
I hope this helps.
Resources:
[1] https://docs.aws.amazon.com/codebuild/latest/userguide/available-runtimes.html
Hi there,
Upon doing further testing and replication on my side, I was able to install nodejs.x86_64 version 14.19.3-1 successfully by using repo https://rpm.nodesource.com/setup_14.x and then installed aws-cdk@2.28.1 as can be seen below:
sudo su -
amazon-linux-extras install epel -y
yum install curl -y
curl -sL https://rpm.nodesource.com/setup_14.x | sudo bash -
yum install nodejs -y
npm install -g aws-cdk
Confirmed that nodejs is installed:
[root@ip-172-31-54-73 ~]# yum list installed nodejs
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
208 packages excluded due to repository priority protections
Installed Packages
nodejs.x86_64 2:14.19.3-1nodesource @nodesource
[root@ip-172-31-54-73 ~]#
Confirmed that cdk is installed:
[root@ip-172-31-54-73 ~]# cdk --version
2.28.1 (build d035432)
[root@ip-172-31-54-73 ~]#
I hope this helps, have a pleasant day!
Contenido relevante
- OFICIAL DE AWSActualizada hace un año
Hello, Thanks for the update. Also is there any workaround which can be implemented until then, so that we can still upgrade to CDK v2.