snippets-web icon indicating copy to clipboard operation
snippets-web copied to clipboard

Snippet not correct, missing initializeApp()

Open iboxgithub opened this issue 3 years ago • 0 comments

Hi, this snippet: https://github.com/firebase/snippets-web/blob/e2a9d336d42add89bc3f504e4143300adea25685/snippets/functions-next/emulator-suite/fb_functions_emulator_connect.js#L8-L12 brings the error line 11: No Firebase App '[DEFAULT]' has been created - call Firebase App.initializeApp() (app/no-app).

is it normal? cause it is indeed fixed if the function is added it works

iboxgithub avatar Oct 20 '21 23:10 iboxgithub