Closed jelling closed 1 year ago
Hi @jelling, thanks for reaching out to us. I’m able to reproduce the issue you mentioned.
One thing I noticed is that you have the same codebase name for both Node and Python. I'm thinking this might be causing the issue as the value of each functions codebase must be unique. Could you try changing one of the codebase names?
I was able to initialize both Javascript and Python functions on the emulator using the following configuration in my firebase.json
file:
{
"functions": [
{
"source": "functions",
"codebase": "default",
"ignore": [
"node_modules",
".git",
"firebase-debug.log",
"firebase-debug.*.log"
]
},
{
"source": "python",
"codebase": "python-default",
"ignore": [
"venv",
".git",
"firebase-debug.log",
"firebase-debug.*.log"
]
}
]
}
If the issue persists after updating the codebase names, could you provide more details on how you set up your functions, and if possible, also share an overview of your project directory which contains the functions?
Resolving this since @aalej identified the issue - please comment if youre still having issues after fixing the codebase name collision
Hello, im currently developing a flutter app using firebase functions im using python but it doesnt support authentication triggers so i need to use javascript alog with python can you explain how did you do that. im not an expert but i dont think it gonna be hard. thanks in advence
[REQUIRED] Environment info
firebase-tools: 12.3.1
Platform: Windows
[REQUIRED] Test case
In
firebase.json
, add function configuration objects for both Node and Python:[REQUIRED] Steps to reproduce
Start the emulator.
[REQUIRED] Expected behavior
Both Node and Python functions are discovered and are runnable.
[REQUIRED] Actual behavior
Specific error:
functions: The functions emulator is configured but there is no functions source directory. Have you run firebase init functions?