I guest you using node js as server.
Note that, GAE standard does not support nodejs.

You can config reactjs run without nodejs. Please see my config (app.yml) 
for sample.
---------
runtime: python27
api_version: 1
threadsafe: true

handlers:
- url: /
  static_files: public/index.html
  upload: public/index.html
  secure: always

- url: /app(.*)
  static_files: public/index.html
  upload: public/index.html

- url: /favicon.ico
  static_files: public/favicon.ico
  upload: public/favicon.ico

- url: /assets
  static_dir: public/assets
---------

Vào 09:32:32 UTC+7 Thứ Năm, ngày 06 tháng 9 năm 2018, event publisher đã 
viết:
>
> I have developed a simple app using React and Node.js 8 for Google App 
> Engine. 
>
> It works perfectly fine locally and deployed on the Flexible Environment, 
> but if I try to deploy it on the Standard Environment by changing app.yaml, 
> I get repeated 500 Server Errors with minimal information in the logs. I am 
> getting "GET / HTTP/1.1" 500 errors but have no other ideas about what 
> might be the problem.
>
> I am guessing the reason why it is failing probably has something to do 
> with the fact that there are additional folders, /src/ and /public/ needed 
> for my React app. The folder structure of my project is the default one 
> created by create-react-app. I have attempted to configure the app.yaml by 
> adding the index.js from react as a script, or by making everything 
> application viewable in handlers, in various combinations, but this hasn't 
> resolved the error.
>
> Has anyone encountered a similar problem? If you've gotten a react app 
> with /src/ and /public/ folders working in the Standard Environment, I'd be 
> interested in seeing how app.yaml was configured.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/5c1922f2-916d-4bc7-810f-1f370a526c64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to