The long answer about why this is a complicated problem has been discussed in some blogs, for example here and here. EDIT: The firebase CLI now supports projects using TypeScript, which gives you access to ES7 syntax. It will automatically compile that down to ES6 for deployment to Cloud Functions .
Read moreIs node 8 deprecated?
The Node. js 8 runtime was deprecated on June 5th, 2020 . To ensure that your functions are on a supported version of Node. js, migrate them to Node.
Read moreWhat version of node does firebase support?
Firebase Cloud Functions now supports Node 8 .
Read moreDoes firebase support node 16?
The engines field is required; it must specify one of the supported Node. js versions in order for you to deploy and run functions. Currently firebase init functions sets this field to 16 .
Read moreWhat are Firebase functions for?
Firebase gives mobile developers access to a complete range of fully managed mobile-centric services including analytics, authentication and Realtime Database . Cloud Functions rounds out the offering by providing a way to extend and connect the behavior of Firebase features through the addition of server-side code.
Read moreWhat language is Firebase functions?
The Firebase SDK supports programming in C++, Java, JavaScript, JavaScript/Node. js, Objective-C, and Swift .
Read more