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

Invalid pnpm version is (not) fetched during firebsae deployment #470

Open
1 of 7 tasks
dsl101 opened this issue Nov 28, 2024 · 0 comments
Open
1 of 7 tasks

Invalid pnpm version is (not) fetched during firebsae deployment #470

dsl101 opened this issue Nov 28, 2024 · 0 comments
Labels
kind/bug Something isn't working

Comments

@dsl101
Copy link

dsl101 commented Nov 28, 2024

Describe the bug

Bug is described here from the firebase-tools side. @dominics identified this code as problematic, as the npm version (9.14.3) does not exist as a downloadable release.

Additional context

How are you using GCP buildpacks?

  • pack and the gcr.io/buildpacks/builder
  • Cloud Functions
  • Cloud Run
  • Cloud Build
  • App Engine Standard
  • App Engine Flex
  • Firebase App Hosting

Did this used to work?
Yes

What language is your project primarily written in?
Javascript

The errors from the client cli:

i  functions: updating Node.js 20 (1st Gen) function authUserOnCreate(us-central1)...
Build failed: installing pnpm: (error ID: e462f501):
downloading pnpm: (error ID: 44d6210b):
fetching https://github.com/pnpm/pnpm/releases/download/v9.14.3/pnpm-linux-x64 returned HTTP status: 404; Error ID: d34422e2

Successful mitigation by including an explicit pnpm version in the functions package.json:

  "engines": {
    "node": "20",
    "pnpm": "9.14.2"
  },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant