firebase-remote-config-monitor icon indicating copy to clipboard operation
firebase-remote-config-monitor copied to clipboard

Node.js 8 deprecation warning

Open MarioBoehmer opened this issue 5 years ago • 5 comments

Node.js 8 is being deprecated for cloud functions and Firebase issues a deprecation warning. An update of Node.js would be necessary to use this cloud function after Feb/Mar 2021.

Node.js 8 has been deprecated.
Starting Feb 15, 2021, we'll no longer support new deploys or updates of Node.js 8 functions.
Starting Mar 15, 2021, we'll no longer support executions of existing Node.js 8 functions.

MarioBoehmer avatar Jul 16 '20 10:07 MarioBoehmer

I've tried to update the node version to 10 but didn't have any success. Not a node developer so not sure how to debug or fix :(

squeaky-nose avatar Aug 07 '20 02:08 squeaky-nose

I just upgrade to node v10, and put GCLOUD_PROJECT as runtime environment variable, it succeeded. GCLOUD_PROJECT is just your project id in google cloud console

blue-hope avatar Nov 06 '20 08:11 blue-hope

Where do we set that?

squeaky-nose avatar Nov 06 '20 08:11 squeaky-nose

google cloud platform > cloud fuctions > (your function) > variables > runtime variable

blue-hope avatar Nov 06 '20 08:11 blue-hope

just uploaded via google cloud console, not firebase cli

blue-hope avatar Nov 06 '20 08:11 blue-hope