Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase Deploy: Error: Could not detect language for functions at

I'm trying to deploy my firebase project, but Im getting the following error:

=== Deploying to 'my-proj'...

deploying firestore, functions, hosting

cloud.firestore: checking firestore.rules for compilation errors...

[W] undefined:undefined - Ruleset uses old version (version [1]). Please update to the latest version (version [2]).

cloud.firestore: rules file firestore.rules compiled successfully

Error: Could not detect language for functions at

any thoughts?

like image 688
Netzer Avatar asked Mar 31 '26 19:03

Netzer


1 Answers

In my case, I missed functions init:

firebase init functions

documentation

like image 93
Bratyslav Morhunov Avatar answered Apr 02 '26 13:04

Bratyslav Morhunov