Deploy on Google Cloud App Engine #2392
Unanswered
jpedrosouza
asked this question in
Help
Replies: 1 comment 2 replies
-
Have you set those 2 env variables? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been trying to deploy my app to the Google Cloud App Engine for 3 hours, but I'm having errors with regard to environment variables. I've tried to do everything to solve, but it did not help anything, resort to you is my last alternative, before redoing the whole project without the adonis. I look forward to a little help.
First Error
Exception: E_MISSING_ENV_VALUE: Missing environment variable "HOST" at Object.ensureValue (/workspace/node_modules/@adonisjs/env/build/src/Schema/helpers.js:26:15) at Object.validate [as HOST] (/workspace/node_modules/@adonisjs/env/build/src/Schema/string.js:44:19) at /workspace/node_modules/@adonisjs/env/build/src/Env/index.js:87:60 at Array.forEach (<anonymous>) at Env.process (/workspace/node_modules/@adonisjs/env/build/src/Env/index.js:86:44) at Application.loadEnvironmentVariables (/workspace/node_modules/@adonisjs/application/build/src/Application.js:266:18) at Application.setup (/workspace/node_modules/@adonisjs/application/build/src/Application.js:467:14) at HttpServer.wire (/workspace/node_modules/@adonisjs/core/build/src/Ignitor/HttpServer/index.js:48:26) at HttpServer.start (/workspace/node_modules/@adonisjs/core/build/src/Ignitor/HttpServer/index.js:146:24) at Object.<anonymous> (/workspace/server.ts:19:37)
Second Error
Exception: E_MISSING_ENV_VALUE: Missing environment variable "CACHE_VIEWS" at Object.ensureValue (/workspace/node_modules/@adonisjs/env/build/src/Schema/helpers.js:26:15) at Object.validate [as CACHE_VIEWS] (/workspace/node_modules/@adonisjs/env/build/src/Schema/boolean.js:34:19) at /workspace/node_modules/@adonisjs/env/build/src/Env/index.js:87:60 at Array.forEach (<anonymous>) at Env.process (/workspace/node_modules/@adonisjs/env/build/src/Env/index.js:86:44) at Application.loadEnvironmentVariables (/workspace/node_modules/@adonisjs/application/build/src/Application.js:266:18) at Application.setup (/workspace/node_modules/@adonisjs/application/build/src/Application.js:467:14) at HttpServer.wire (/workspace/node_modules/@adonisjs/core/build/src/Ignitor/HttpServer/index.js:48:26) at HttpServer.start (/workspace/node_modules/@adonisjs/core/build/src/Ignitor/HttpServer/index.js:146:24) at Object.<anonymous> (/workspace/server.ts:19:37)
Beta Was this translation helpful? Give feedback.
All reactions