Open e-roy opened 1 week ago
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.
package-lock.json
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
Consider also pnpm, I tested with another project and failed with the error below. pnpm is popular among the Next JS crowd.
pnpm
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