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

Question: Problems deploying in the Google App Engine #381

Open
TerminallyTransient opened this issue Jan 9, 2025 · 0 comments
Open

Question: Problems deploying in the Google App Engine #381

TerminallyTransient opened this issue Jan 9, 2025 · 0 comments
Labels
question Further information is requested

Comments

@TerminallyTransient
Copy link

When trying to deploy to the Google App Engine, since the Heroku method is having issues primarily around the Node.JS version, I keep getting the following error:

File upload done.
Updating service [default]...failed.
ERROR: (gcloud.app.deploy) Error Response: [9] Cloud build 474c61d4-03ae-4769-abb8-2f51d0f15989 status: FAILURE
npm error code EBADENGINE
npm error engine Unsupported engine
npm error engine Not compatible with your version of node/npm: [email protected]
npm error notsup Not compatible with your version of node/npm: [email protected]
npm error notsup Required: {"node":"^20.17.0 || >=22.9.0"}
npm error notsup Actual: {"npm":"10.8.2","node":"v18.20.5"}
npm error A complete log of this run can be found in: /www-data-home/.npm/_logs/2025-01-09T19_01_38_425Z-debug-0.log

Step #2 - "build": Runtime successfully downloaded from us-central1-docker.pkg.dev/gae-runtimes/runtimes-ubuntu2204/nodejs:18.20.5
Step #2 - "build": === Node.js - Npm ([email protected]) ===
Step #2 - "build": 2025/01/09 19:01:38 [DEBUG] GET https://registry.npmjs.org/npm
Step #2 - "build": --------------------------------------------------------------------------------
Step #2 - "build": Running "npm install -g --prefix=/layers/google.nodejs.npm/npm [email protected]"
Step #2 - "build": npm error code EBADENGINE
Step #2 - "build": npm error engine Unsupported engine
Step #2 - "build": npm error engine Not compatible with your version of node/npm: [email protected]
Step #2 - "build": npm error notsup Not compatible with your version of node/npm: [email protected]
Step #2 - "build": npm error notsup Required: {"node":"^20.17.0 || >=22.9.0"}
Step #2 - "build": npm error notsup Actual: {"npm":"10.8.2","node":"v18.20.5"}
Step #2 - "build": npm error A complete log of this run can be found in: /www-data-home/.npm/_logs/2025-01-09T19_01_38_425Z-debug-0.log
Step #2 - "build": Done "npm install -g --prefix=/layers/google.nodejs.npm/npm npm@11..." (913.892707ms)
Step #2 - "build": --------------------------------------------------------------------------------
Step #2 - "build": failed to build: Error: (error ID: 7bf2fe97):
Step #2 - "build": npm error code EBADENGINE
Step #2 - "build": npm error engine Unsupported engine
Step #2 - "build": npm error engine Not compatible with your version of node/npm: [email protected]
Step #2 - "build": npm error notsup Not compatible with your version of node/npm: [email protected]
Step #2 - "build": npm error notsup Required: {"node":"^20.17.0 || >=22.9.0"}
Step #2 - "build": npm error notsup Actual: {"npm":"10.8.2","node":"v18.20.5"}
Step #2 - "build": npm error A complete log of this run can be found in: /www-data-home/.npm/_logs/2025-01-09T19_01_38_425Z-debug-0.log
Step #2 - "build": Timer: Builder ran for 3.918876937s and ended at 2025-01-09T19:01:39Z
Step #2 - "build": ERROR: failed to build: exit status 1
Finished Step #2 - "build"
ERROR
ERROR: build step 2 "us.gcr.io/serverless-runtimes/google-22-full/builder/nodejs:nodejs_20241229_RC00" failed: step exited with non-zero status: 51

Ideally I would like to get this deployed this week in a low-code way prior to an initial audit next week.

@TerminallyTransient TerminallyTransient added the question Further information is requested label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant