amplify-backend icon indicating copy to clipboard operation
amplify-backend copied to clipboard

Overriding default installed version of node does not work

Open gongora92 opened this issue 1 year ago • 2 comments

Environment information

AWS Console

Description

I am trying to overwrite the nodejs version to use nodejs 20.11.1 but it's not getting overwrited once the building starts

This is the overwrite specifying nodejs 20.11.1 Screenshot 2024-05-09 at 12 05 24

I am getting nodejs 18.18.2 Screenshot 2024-05-09 at 12 20 14

gongora92 avatar May 09 '24 18:05 gongora92

As additional information, I made the nodejs overwrite after the branch was added. I deleted the branch and created again and the nodejs version was overwrited

gongora92 avatar May 09 '24 20:05 gongora92

Hey @gongora92, thank you for reaching. I was able to reproduce the issue, marking as bug.

reproduction steps:

  1. created new app with no added overrides, this starts the first build
  2. add node override
  3. then redeploy, observe this doesn't detect the override

note: observed adding the override on the app creation advances setting or re-attaching the branch does detect the override.

ykethan avatar May 10 '24 14:05 ykethan

Hi @gongora92 👋 , thanks for your continued patience. We have deployed a fix for this issue and you should now be able override the default node version as expected for Gen 1 apps. Thanks!

Jay2113 avatar Aug 14 '24 16:08 Jay2113