Skip to content

nextJs deployment hangs/stuck at stage "Building a Cloud Function to run this application" #5622

Closed

Description

@hkropp

[REQUIRED] Environment info

nextJs / firebase hosting

nodejs v18.13.0

firebase-tools:
firebase-tool >= v11.23.0

Platform:
macOS

[REQUIRED] Test case

  • firebase deploy --only hosting

[REQUIRED] Steps to reproduce

  • try deploy nextJS project with firebase >= v11.23.0

[REQUIRED] Expected behavior

  • works with firebase-tools <= v11.19.0

[REQUIRED] Actual behavior

No relevant debug output. Just hangs.

Is working with v11.19.0 (and probably below). Bug likely introduced after that. Probably related to the Cloud Run changes.

Activity

  1. google-oss-bot commented on Mar 22, 2023

    @google-oss-bot
    Collaborator

    This issue does not have all the information required by the template. Looks like you forgot to fill out some sections. Please update the issue with more information.

  2. sharfudeen commented on Mar 22, 2023

    @sharfudeen

    Try to downgrade your firebase tools version to v11.18.0 using npm i -g [email protected]

  3. jamesdaniels commented on May 23, 2023

    @jamesdaniels
    Contributor

    We now time out while bundling the next.config.js, it should proceed with a warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions