# App Engine: re-deploy with node16 fails

**URL:** <https://discuss.google.dev/t/app-engine-re-deploy-with-node16-fails/146425>\
**Category:** Compute Infrastructure\
**Tags:** compute-engine\
**Created:** [February 22, 2024, 10:09am UTC](https://discuss.google.dev/t/app-engine-re-deploy-with-node16-fails/146425 "2024-02-22T10:09:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex57](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@Alex57](https://discuss.google.dev/u/Alex57)\
**Post date:** [February 22, 2024, 10:09am UTC](https://discuss.google.dev/t/app-engine-re-deploy-with-node16-fails/146425/1 "2024-02-22T10:09:43Z")

</div>

Hi.  
22.02.2024 we re-deploy App Engine with node16 - and it fails with an error:

ERROR: (gcloud.app.deploy) INVALID\_ARGUMENT: Error(s) encountered validating runtime. Runtime nodejs16 is end of support and no longer allowed. Please use the latest Node.js runtime for App Engine Standard..  
(p.s. the day before 21.02.2024 - the same process went fine).

In my understanding “End of support” should not affect on re-deploy.  
And we planned to move to node18 in 6 month.

Is there anything we can do?

---

<div class="post-metadata">

**Author:** ![H1berto](https://d3byx8b92xw3lq.cloudfront.net/user_avatar/discuss.google.dev/h1berto/32/11113_2.png) [@H1berto](https://discuss.google.dev/u/H1berto)\
**Post date:** [February 23, 2024, 9:14pm UTC](https://discuss.google.dev/t/app-engine-re-deploy-with-node16-fails/146425/2 "2024-02-23T21:14:15Z")

</div>

I have the same problem but with nodejs10.  
In the [https://cloud.google.com/appengine/docs/standard/lifecycle/support-schedule?hl=pt-br#nodejs](https://cloud.google.com/appengine/docs/standard/lifecycle/support-schedule?hl=pt-br#nodejs), it says that it has not been discontinued yet, so there is no point in removing the deploy for these versions.  
We also plan to update our version to nodejs20 but in 2 months

---

<div class="post-metadata">

**Author:** ![ronnieroyston](https://d3byx8b92xw3lq.cloudfront.net/user_avatar/discuss.google.dev/ronnieroyston/32/6829_2.png) [@ronnieroyston](https://discuss.google.dev/u/ronnieroyston)\
**Post date:** [February 23, 2024, 10:17pm UTC](https://discuss.google.dev/t/app-engine-re-deploy-with-node16-fails/146425/3 "2024-02-23T22:17:50Z")

</div>

My builds are failing too.

The fix is to simply edit your .yaml file, updating to v18+.

INVALID\_ARGUMENT: Error(s) encountered validating runtime. Runtime nodejs16 is end of support and no longer allowed. Please use the latest Node.js runtime for App Engine Standard..
