-
Notifications
You must be signed in to change notification settings - Fork 148
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
Unable to find node version 12.11.0 #215
Comments
According to the test file Add environment variable pack build --builder=gcr.io/buildpacks/builder --env 'GOOGLE_RUNTIME_VERSION=14.17.0' sample-node |
Can you help by posting the training / what app you are trying to deploy? I am trying to understand where the version 12.11.0 is coming from. |
Issue here is we need to backfill our versions of nodejs. |
I don't have access to the lab anymore. It was the cloud run lab assignment. |
@ShubhaPradeep Do you have any special reason to use nodejs 12.11.0 but not other versions? This is an old version and there is some issues with the release of 12.11.0 tarball nodejs/node#29709. I suggest use a newer version. |
I don't have access to lab, I got the error when I attended cloud run training and I was practicing my lab the next day. |
Added nodejs 12.11.0, it should be available from now |
running `skaffold build -p buildpacks` in the `nodejs/nodejs-guestbook` app from an M1 Mac always results in the following error: ``` ... [builder] npm ERR! A complete log of this run can be found in: [builder] npm ERR! /home/cnb/.npm/_logs/2022-07-30T07_44_41_031Z-debug-0.log [builder] -------------------------------------------------------------------------------- [builder] Sorry your project couldn't be built. [builder] Our documentation explains ways to configure Buildpacks to better recognise your project: [builder] -> https://github.com/GoogleCloudPlatform/buildpacks/blob/main/README.md [builder] If you think you've found an issue, please report it: [builder] -> https://github.com/GoogleCloudPlatform/buildpacks/issues/new [builder] -------------------------------------------------------------------------------- [builder] ERROR: failed to build: exit status 1 ``` Setting the nodejs version explicitly according to GoogleCloudPlatform/buildpacks#215 fixes the issue.
I got the below error during training when I was practicing the lab
WARNING: Failed to download Node.js version 12.11.0. You can specify the verison by setting the GOOGLE_RUNTIME_VERSION environment variable
[builder] Failure: (ID: 58e6a0ae) fetching https://dl.google.com/runtimes/nodejs/nodejs-12.11.0.tar.gz returned HTTP status: 404
The text was updated successfully, but these errors were encountered: