After a week of searching, I am not able to find a solution for an app engine deploy issue for my node.js application.
I have come to the point that I have replaced my original code with this "hello world" example for express. Running this in my local dev environment offline works well (as expected).
Then I deploy this app to my google app engine project online using the gcloud cli. That seems to work as well (no errors).
However, when I visit the app online, instead of seeing my app, I see a black page with this message: "Error: Server Error The server encountered an error and could not complete your request. Please try again in 30 seconds.". After some digging in the google cloud console logs, I find that the error seems to be "Error: Cannot find module '/workspace/server.js'" (see more info here). I do not use such a module myself, nor do I define such a path in any of my files.
Does anyone have an idea what might be going wrong and how I can fix it? I have deployed apps successfully recently, but I'm at a loss here...