You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know it's connecting to the emulator because when I change the port or the ip, i get internal-error instead. Also the deployment on the emulator it's correct because it appears on the log. It works correctly when called from firebase functions:shell.
Were you able to successfully deploy your functions?
I am not testing deployment since I need this just for testing.
The text was updated successfully, but these errors were encountered:
Related issues
I haven't found any related issues.
[REQUIRED] Version info
Node version: v18.19.1
firebase-functions: 6.0.1
firebase-tools: 13.22.0
firebase-admin: 12.1.0
[REQUIRED] Test case
I am using a test code based on the docs. I have tested with the quickstart repo getting the same results: Link.
Here is my code:
index.ts (inside the "functions" folder)
test.ts (outside of functions folder)
[REQUIRED] Steps to reproduce
[REQUIRED] Expected behavior
It should connect with the emulator and return the promise from the function and execute it correctly.
[REQUIRED] Actual behavior
I get an error with the promise. This is my console log:
Error calling function: [FirebaseError: not-found] { code: 'functions/not-found', customData: undefined, details: undefined }
I know it's connecting to the emulator because when I change the port or the ip, i get internal-error instead. Also the deployment on the emulator it's correct because it appears on the log. It works correctly when called from firebase functions:shell.
Were you able to successfully deploy your functions?
I am not testing deployment since I need this just for testing.
The text was updated successfully, but these errors were encountered: