0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

GAEでNode.jsのバックエンドサーバーを用意するときは、ファイル名をserver.jsにしよう。

0
Last updated at Posted at 2021-02-01

GAEにNode.jsのサーバーを用意して、デプロイしたのだが、
公開したページにアクセスすると
Error: Server Error The server encountered an error and could not complete your request. Please try again in 30 seconds
というエラーが表示された。

GCPでログを確認してみると、server.jsがないと言われているため、エラーになっていたらしい。

ログ確認場所

package.jsonの"main": "index.js",は関係ないのかな。
私の理解が間違っているのか。
勉強しよう!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?