All Questions
Tagged with google-app-engine node.js
1,082 questions
0
votes
1
answer
21
views
Google App Engine - endpoint "GET /_ah/start HTTP/1.1" 500
When updating my application's configuration from scaling to manual, I repeatedly encountered this error in the console: Error: Cannot find module '/workspace/index.js', followed by multiple errors of ...
-1
votes
0
answers
38
views
npm error code EUSAGE while deploying react + vite js app to google app engine
While deploying the app I am getting this error, Here is the error for build summary.
Step #2 - "build": Node.js v20.18.3 cache hit, skipping installation.
Step #2 - "build": === ...
0
votes
1
answer
48
views
How do I keeping idle app running in Google Cloud
I have a node.js app which is serving data from a Google Sheet to Slack on request (via slash commands). The app reads the sheet into memory at start-up and once a day and then serves the slack ...
0
votes
1
answer
62
views
Update Strategy When Using Auto Scaling with MIG on GCP
I'm new with GCP and I've been reading some articles online on how to create Auto Scaling on GCP. I found this StackOverflow answer that answered all my questions on how to setup Auto Scaling with MIG ...
0
votes
0
answers
21
views
Restricting access to a Google App Engine backend service to a single domain, without authentication
I have a webApp that is composed of a frontend (hosted on AWS Amplify) and a Node.js backend API (hosted on GAE). The app works just fine, but I need to ingore requests to my backend API endpoints ...
1
vote
0
answers
60
views
NextJS app caching gives error when deployed to app engine
Description : I have created a NextJS App and deployed it to Google App Engine.
Problem : When NextJS tries to cache the images and store it, app engine throws this error.
DEFAULT 2024-09-15T11:48:52....
1
vote
1
answer
139
views
ExpressJS API failing readiness check on Google App Engine
I have an ExpressJS API that I am trying to deploy on a Google App Engine. I deployed it with gcloud app deploy --version=[NEW_VERSION_NUMBER].
It includes a basic root endpoint that returns a 200 ...
0
votes
0
answers
41
views
Node JS Module Import Failing on GCP App Engine
I have this import statement in a file on my node.js app, which works fine when run locally:
const firestoreServiceAccountKey = require(path.join(__dirname, "secrets/serviceAccountKey.json"))...
0
votes
0
answers
25
views
MongoDB gives bad auth 8000 error when connecting from google app engine, but works on localhost
I created a simple backend in NodeJS and Mongoose, and it works perfectly on localhost, but I deployed it to Google App Engine, and it gives this:
2024-08-01 16:02:57 default[20240731t153246] Error: {...
0
votes
1
answer
85
views
Serving static files directly in Google App Engine with express
I have a standard Google App Engine environment and am trying to serve some static files for my create-react-app frontend, but I'm not able to do so without copying over the client/build/ files into ...
4
votes
3
answers
3k
views
Why can't we deploy to the app engine with nodejs version 20?
Since this morning we are not able to deploy to the app engine on GCP.
We recieve this kind of error message.
ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: Error(s) encountered validating runtime. Your ...
0
votes
1
answer
42
views
Deploying GAE Node-JS app using gcloud app deploy fails at build step 2
I have recently updated the node-js version from 4.x to 20.15.1
In the package.json I use this as the engine :
"engines": {
"node": "20.15.1"
},
Now when I use ...
0
votes
1
answer
63
views
Google cloud app engine never shutdown nodejs
as said in the title, my app engine API is always active and generating full time charges.
Basically, it always has 100% traffic allocation, even without receiving requests for more than 8 hours.
My ...
1
vote
1
answer
41
views
Any way to deploy NodeJS app that uses Java to Google App Engine?
https://www.npmjs.com/package/xsd-schema-validator We're using this package, and it uses Java under the hood. Is there any way to deploy this app to App Engine? I'm assuming we'll have to switch from ...
0
votes
1
answer
122
views
Unable to deploy to GAE from Github Actions
So I'm trying to deploy a brand new application to Google App Engine from Github actions and I'm getting this error message:
Failed to create cloud build: invalid bucket "<PROJECT_NUMBER>....