Description
Note: Before filing bugs in this repo, please ensure that this is a bug for the Emulator Suite UI. Emulator Suite and/or Firebase CLI bugs should be filed under the firebase-tools repo here:
https://github.com/firebase/firebase-tools/issues/new/choose
Describe the bug
I cannot open hosting in firebase, it does not show the correct things. I get this error
$ firebase emulators:start --only hosting --debug
[2024-04-17T18:13:16.337Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
[2024-04-17T18:13:16.338Z] > authorizing via signed-in user (juleslbandersen@gmail.com)
i emulators: Starting emulators: hosting {"metadata":{"emulator":{"name":"hub"},"message":"Starting emulators: hosting"}}
! hub: emulator hub unable to start on port 4400, starting on 4401 instead. {"metadata":{"emulator":{"name":"hub"},"message":"emulator hub unable to start on port 4400, starting on 4401 instead."}}
! logging: Logging Emulator unable to start on port 4500, starting on 4501 instead. {"metadata":{"emulator":{"name":"logging"},"message":"Logging Emulator unable to start on port 4500, starting on 4501 instead."}}
[2024-04-17T18:13:16.348Z] [logging] Logging Emulator only supports listening on one address (127.0.0.1). Not listening on ::1
! hosting: Hosting Emulator unable to start on port 5000, starting on 5002 instead. {"metadata":{"emulator":{"name":"hosting"},"message":"Hosting Emulator unable to start on port 5000, starting on 5002 instead."}}
[2024-04-17T18:13:16.348Z] [hosting] Hosting Emulator only supports listening on one address (127.0.0.1). Not listening on ::1
[2024-04-17T18:13:16.349Z] assigned listening specs for emulators {"user":{"hub":[{"address":"127.0.0.1","family":"IPv4","port":4401},{"address":"::1","family":"IPv6","port":4401}],"logging":[{"address":"127.0.0.1","family":"IPv4","port":4501}],"hosting":[{"address":"127.0.0.1","family":"IPv4","port":5002}]},"metadata":{"message":"assigned listening specs for emulators"}}
! emulators: It seems that you are running multiple instances of the emulator suite for project friendlyeats-5748b. This may result in unexpected behavior.
[2024-04-17T18:13:16.353Z] [hub] writing locator at C:\Users\Jules\AppData\Local\Temp\hub-friendlyeats-5748b.json
[2024-04-17T18:13:16.364Z] >>> [apiv2][query] GET https://firebasehosting.googleapis.com/v1beta1/projects/friendlyeats-5748b/sites
[2024-04-17T18:13:17.322Z] <<< [apiv2][status] GET https://firebasehosting.googleapis.com/v1beta1/projects/friendlyeats-5748b/sites 200
[2024-04-17T18:13:17.323Z] <<< [apiv2][body] GET https://firebasehosting.googleapis.com/v1beta1/projects/friendlyeats-5748b/sites {"sites":[{"name":"projects/friendlyeats-5748b/sites/friendlyeats-5748b","defaultUrl":"https://friendlyeats-5748b.web.app","type":"DEFAULT_SITE"}]}
[2024-04-17T18:13:17.323Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/projects/friendlyeats-5748b/webApps/-/config [none]
[2024-04-17T18:13:17.878Z] <<< [apiv2][status] GET https://firebase.googleapis.com/v1beta1/projects/friendlyeats-5748b/webApps/-/config 200
[2024-04-17T18:13:17.878Z] <<< [apiv2][body] GET https://firebase.googleapis.com/v1beta1/projects/friendlyeats-5748b/webApps/-/config {"projectId":"friendlyeats-5748b","storageBucket":"friendlyeats-5748b.appspot.com","apiKey":"AIzaSyAQVdWtqzafWdtlbuzH3VaGontAe77jldk","authDomain":"friendlyeats-5748b.firebaseapp.com","messagingSenderId":"117127742271"}
[2024-04-17T18:13:17.886Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/projects/friendlyeats-5748b [none]
[2024-04-17T18:13:18.154Z] <<< [apiv2][status] GET https://firebase.googleapis.com/v1beta1/projects/friendlyeats-5748b 200
[2024-04-17T18:13:18.154Z] <<< [apiv2][body] GET https://firebase.googleapis.com/v1beta1/projects/friendlyeats-5748b {"projectId":"friendlyeats-5748b","projectNumber":"117127742271","displayName":"FriendlyEats","name":"projects/friendlyeats-5748b","resources":{"hostingSite":"friendlyeats-5748b"},"state":"ACTIVE","etag":"1_6fa0d93d-3762-4fc9-a354-5a38703f5b5d"}
i hosting[friendlyeats-5748b]: Serving hosting files from: public {"metadata":{"emulator":{"name":"hosting"},"message":"Serving hosting files from: \u001b[1mpublic\u001b[22m"}}
- hosting[friendlyeats-5748b]: Local server: http://127.0.0.1:5002 {"metadata":{"emulator":{"name":"hosting"},"message":"Local server: \u001b[4m\u001b[1mhttp://127.0.0.1:5002\u001b[22m\u001b[24m"}}
! emulators: The Emulator UI is not starting, either because none of the running emulators have a UI component or the Emulator UI cannot determine the Project ID. Pass the --project flag to specify a project. {"metadata":{"emulator":{"name":"hub"},"message":"The Emulator UI is not starting, either because none of the running emulators have a UI component or the Emulator UI cannot determine the Project ID. Pass the --project flag to specify a project."}}
┌─────────────────────────────────────────────────────────────┐
│ ✔ All emulators ready! It is now safe to connect your app. │
└─────────────────────────────────────────────────────────────┘
┌──────────┬────────────────┐
│ Emulator │ Host:Port │
├──────────┼────────────────┤
│ Hosting │ 127.0.0.1:5002 │
└──────────┴────────────────┘
Emulator Hub running at 127.0.0.1:4401
Other reserved ports: 4501
Activity