E46B Next.js SSR Deployment fails due to wrong firebase-tools creating wrong folder · Issue #7062 · firebase/firebase-tools · GitHub
[go: up one dir, main page]

Skip to content

Next.js SSR Deployment fails due to wrong firebase-tools creating wrong folder #7062

@tobenna-wes-re

Description

@tobenna-wes-re

[REQUIRED] Environment info

13.7.5

firebase-tools:

macOS

Platform:

[REQUIRED] Test case

Deployment of Next using Firebase Webframeworks due to firebase creating wrong ssr folder

[REQUIRED] Steps to reproduce

run firebase deploy --only hosting when using next.js

[REQUIRED] Expected behavior

image

.next should be in the a sub directory of the functions

[REQUIRED] Actual behavior

I get functions.next instead. This then leads to firebase uploading the files without the ssr files

This then leads to a server error
Error: ENOENT: no such file or directory, open '/workspace/.next/BUILD_ID'

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

      0