Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Hosting failed with yarn - Next JS #425

Open
e-roy opened this issue Jun 29, 2024 · 1 comment
Open

App Hosting failed with yarn - Next JS #425

e-roy opened this issue Jun 29, 2024 · 1 comment
Assignees
Labels
firebase app hosting Firebase App Hosting builder kind/bug Something isn't working

Comments

@e-roy
Copy link

e-roy commented Jun 29, 2024

Describe the bug
Using the Next.js boilerplate from https://github.com/FirebaseExtended/firebase-framework-tools/tree/main/starters/nextjs/basic, I deployed as is and worked fine. If I remove package-lock.json file and use the yarn package manager, when I push to the same repo, build fails.

app-hosting-fail

Repo can be found at https://github.com/e-roy/app-hosting-next-demo

Error appears to be thrown in this file https://github.com/GoogleCloudPlatform/buildpacks/blob/main/cmd/nodejs/firebasenextjs/main.go

@e-roy e-roy added the kind/bug Something isn't working label Jun 29, 2024
@kennethye1 kennethye1 added the firebase app hosting Firebase App Hosting builder label Jul 2, 2024
@e-roy
Copy link
Author

e-roy commented Jul 5, 2024

Consider also pnpm, I tested with another project and failed with the error below. pnpm is popular among the Next JS crowd.

pnpm

@abhis3 abhis3 self-assigned this Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
firebase app hosting Firebase App Hosting builder kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants