Skip to content

Assertion failed: resolving hosting target of a site with no site name or target name on latest-node-22-slim #51

Description

@cnfw

Steps to Reproduce

  1. Use the Docker image andreysenov/firebase-tools:latest-node-22-slim in a CI environment.
  2. Run firebase deploy --only hosting --token $FIREBASE_TOKEN.
  3. Observe authentication failure.

Expected Behavior

The deploy should succeed using the provided CI token, as it does with the 15.20.0-node-22 image.

Actual Behavior

⚠  Authenticating with `--token` is deprecated and will be removed in a future major version of `firebase-tools`. Instead, use a service account key with `GOOGLE_APPLICATION_CREDENTIALS`: https://cloud.google.com/docs/authentication/getting-started
Authentication Error: Your credentials are no longer valid. Please run firebase login --reauth

For CI servers and headless environments, generate a new token with firebase login:ci
Authentication Error: Your credentials are no longer valid. Please run firebase login --reauth
For CI servers and headless environments, generate a new token with firebase login:ci

Error: Assertion failed: resolving hosting target of a site with no site name or target name. This should have caused an error earlier

Rolling back to previous version works (I went back to 15.20.0-node-22)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions