I am being practiced to make TelegramBot using firebase cloud function. installed firebase-tools, registered the firebase account and created a new sample project, but then I got an error when I selected the project.
This is the error message:
Function is not a valid feature. Must be one of database,firestore,functions,hosting,storage.
Cloud Functions for Firebase is a serverless framework that lets you automatically run backend code in response to events triggered by Firebase features and HTTPS requests. Your JavaScript or TypeScript code is stored in Google's cloud and runs in a managed environment.
How silly am i, it's typo... all i need to do is to change execution syntax like below
firebase init functions
with plural "s"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With