Deployed a Next.js application to App Engine Standard [Nodejs] and got a 500 error

前端 未结 3 2038
被撕碎了的回忆
被撕碎了的回忆 2021-02-04 18:45

I deployed to app engine with nodejs8 runtime and got a 500. Im deploying a next.js application, and upon reviewing StackDriver I get. It appears .next might be getting ignored.

3条回答
  •  南笙
    南笙 (楼主)
    2021-02-04 19:02

    This happened to me when I removed a file that one of my pages (in the /pages folder) happened to be referencing.

    Either restore that file, or remove the file that is referencing the missing file.

提交回复
热议问题