I'm using Version 1.5.8 and trying to set up a function starting only with the provided starter template. Running it on Node, Node-Typescript, and Bun, I encountered the error: TypeError: res.text is not a function. How can I resolve this issue?
TL;DR
Developer using Version 1.5.8 facing 'TypeError: res.text is not a function' error while setting up a function with provided template on Node, Node-Typescript, and Bun. To resolve this, ensure the correct method is used to handle response objects, such as res.send() or res.json().