I've been trying all day to get my functions to run locally but I don't know why it keeps saying I have no functions. I'm using typescript, so I ran tsc
in the functions folder, then ran sudo firebase serve --only functions
, but I get this error:
i functions: No HTTPS functions found.
Use firebase functions:shell if you would like to emulate other types of functions.
Edit: I tried serving the function without sudo
but I get permission issues:
Ok, I don't know why it worked, but I just restarted VSCode (because it had an update) and everything works now.