Node.js 12.16.1 LTS in Flex Environment

48 views
Skip to first unread message

Christopher Russell

unread,
Mar 2, 2020, 5:35:20 PM3/2/20
to Google App Engine
According to https://cloud.google.com/appengine/docs/flexible/nodejs/runtime I should be able to dial in my required Node.js version for Flex Environment Cloud Build quite easily by setting `engines` semver constraint in package.json.

However, this doesn't seem to work.

No matter what I do in Flex all I get is Node.js 10.13.0 (Oct 2018) and breaks if I try to constrain this via package.json `engines`.

Very frustrating.

Any advice from the Community?

If I take the time to switch from flex to standard environment does that even work?

It should be dead-easy to get LTS support for Node.js!



Aref Amiri (Cloud Platform Support)

unread,
Mar 4, 2020, 12:06:24 PM3/4/20
to Google App Engine
By default the engine should be set to the latest LTS release, however, I'd suggest to make sure all components are updated to the latest version and try again. If the issue persists, I'd suggest to create a Public Issue tracker and provide the error message, and this can be investigated further.

In regards to App engine Standard, more information can be found here. There are certain limitations in terms of updates in comparison to Flex, however, it does support the latest stable release of Node.js.

Christopher Russell

unread,
Mar 4, 2020, 12:15:32 PM3/4/20
to google-a...@googlegroups.com
Thank you for the reply. Your suggestion was very helpful - indeed there was an upstream problem that was causing the wrong Docker container to get pulled. Once corrected, we're happily building and executing the generated runtime on 12.16.1 LTS Node. Thanks and regards. Chris

On Wed, Mar 4, 2020 at 9:07 AM 'Aref Amiri (Cloud Platform Support)' via Google App Engine <google-a...@googlegroups.com> wrote:
By default the engine should be set to the latest LTS release, however, I'd suggest to make sure all components are updated to the latest version and try again. If the issue persists, I'd suggest to create a Public Issue tracker and provide the error message, and this can be investigated further.

In regards to App engine Standard, more information can be found here. There are certain limitations in terms of updates in comparison to Flex, however, it does support the latest stable release of Node.js.

--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/GeMAqXvbG1A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/f8851264-272c-42d9-af0f-1f4db877a0b8%40googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages