akauppi / GroundLevel-firebase-es

[ANCHORED] Stencil for operational web apps
https://groundlevel-sep22.web.app/
Other
23 stars 3 forks source link

Emulators are SO NOISY!! #68

Closed akauppi closed 3 years ago

akauppi commented 3 years ago

Latest, in app-deploy-ops:

> $(docker-run-cmd) firebase emulators:start --project=demo-9

Launching Docker... 🐳
⚠  emulators: You are not currently authenticated so some features may not work correctly. Please run firebase login to authenticate the CLI.
i  emulators: Starting emulators: hosting
i  emulators: Detected demo project ID "demo-9", emulated services will use a demo configuration and attempts to access non-emulated services for this project will fail.
i  hosting: Serving hosting files from: roll/out
✔  hosting: Local server: http://0.0.0.0:3012
⚠  emulators: The Emulator UI requires a project ID to start. Configure your default project with 'firebase use' or pass the --project flag.

I'm launching this as demo-9 project. Let's see what problems firebase-tools (9.16.0) has with it!!!

⚠ emulators: You are not currently authenticated so some features may not work correctly. Please run firebase login to authenticate the CLI.

Damn no! I want to be an offline project. Just hosting. demo-* should tell you that.

i emulators: Detected demo project ID "demo-9", emulated services will use a demo configuration and attempts to access non-emulated services for this project will fail.

Yeah, right. Only I don't need the developers to be reminded about that. Block.

⚠ emulators: The Emulator UI requires a project ID to start. Configure your default project with 'firebase use' or pass the --project flag.

You have a project id. This is a bug in Firebase Emulators.

akauppi commented 3 years ago

Looks like I found a way to filter out Docker output, without causing problems with Ctrl-C that need Docker restarts.

docker run -it --rm --log-driver local -a stdin -a stdout -a stderr