App Hosting failed with yarn - Next JS
e-roy opened this issue · 3 comments
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.
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
Hi there, thanks for the info in helping track this bug down! I just merged a fix here f335a79
I'll leave a comment again when it propagates through our service and the commit is in prod before closing this out.
This change should be in all production servers now! Going to close this out, but please feel free to reopen if there are still issues!