transitive-bullshit / nextjs-notion-starter-kit

Deploy your own Notion-powered website in minutes with Next.js and Vercel.
https://transitivebullsh.it/nextjs-notion-starter-kit
MIT License
6.28k stars 5.29k forks source link

AWS Amplify has an error in deployment #609

Open kdn0325 opened 7 months ago

kdn0325 commented 7 months ago

Description

First of all, thank you for sharing the good template🙏.

First of all, thank you for sharing the good template. My current situation is that if you deploy to an existing Vercel, you succeed in deployment without any problems, but AWS Amplify will get an error when deploying.

Error: ENOENT: no such file or directory, open '/codebuild/output/src500146963/src/d-blog/.next/server/pages/api/social-image.js.nft.json'

ErrorImage

Notion Test Page ID

playaz87 commented 3 months ago

@kdn0325

I'm experiencing the same error. Did you solve it?

playaz87 commented 3 months ago

For anyone else experiencing this, change the Next version to 13 and it works

kdn0325 commented 3 months ago

@kdn0325

I'm experiencing the same error. Did you solve it?

I couldn't solve it either, so I updated it Next version to 14 Thanks for letting me know how to solve it bro