Hi ,
I have created a simple Node.js application and trying to deploy it to Google Cloud using command - gcloud app deploy
There is an error -
Updating service [default]...failed.
ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred while creating a Google Cloud Storage bucket.
Files in project intelligent-planner
1. app.yaml
runtime: nodejs
env: flex
2. package.json
{
"type": "service_account",
"project_id": "intelligent-planner",
"scripts": {
"start": "node main.js"
},
"dependencies": {
"uuid": "^3.0.1"
}
}
main.js
console.log("Hello World");
I created service account in GCP console. Added environment variable on my local machine- >GOOGLE_APPLICATION_CREDENTIALS
to point to the downloaded service account JSON file .
Please let me know if I am missing any step while deploying the app or any configuration/setting in GCP.
Thanks ,
Priyanka