I have created nextjs project with Isomorphic admin theme
Now I am going to deploy this project to google app engine. I read this discussion and structured my app based on this repo
This is my app.yaml
env: standard
runtime: nodejs14
service: default
handlers:
- url: /.*
secure: always
script: auto
and my package.json file
... ...
"scripts": {
"dev": "next -p 3030",
"start": "next start",
"serve": "next start",
"build": "rimraf build && next build",
"deploy": "gcloud app deploy --project [Project-ID]",
"analyze": "cross-env ANALYZE=1 next build",
"heroku-postbuild": "npm run build"
}
... ...
I added build dir and deployed to google app engine,but it shows 500 error.
To view your logs in Production,
Logging
legacy log viewer