-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Next.js v13 support #372
Comments
Version 13 removed the deprecated target: Unfortunately the maintainer isn't active on this project, and I'd recommend this project: https://github.com/jetbridge/sst-prisma. They are using That project is still WIP, but the maintainer is very active. The amplify-hosting team is working on a solution too: aws-amplify/amplify-hosting#2343. It looks like we're going to have to wait til sometime next year to having a working system. |
Felix now works at Vercel (darn Vercel for poaching everyone... serverless-nextjs and now our beloved Felix). If anyone is interested in another serverless framework, I'd recommend https://github.com/jetbridge/sst-prisma. One of the contributors has made great progress on the standalone Hopefully the Vercel guys don't see this and poach them too. |
@khuezy I've tried to replicate the nextjs deployment but am seeing some build errors. Tried to join the discord but the link you provided takes me to a broken server. |
@R-Bower https://discord.gg/sst |
Having this issue as well. Particularly the: Error: The "target" property is no longer supported in next.config.js. I do not have any "target" property in my /**
* @type {import('next').NextConfig}
*/
module.exports = {
output: 'standalone',
images: {
domains: [
'images.unsplash.com',
],
},
async headers() {
return [
{
source: '/api/:path*',
headers: [
{ key: 'Access-Control-Allow-Credentials', value: 'true' },
{ key: 'Access-Control-Allow-Origin', value: '*' },
{ key: 'Access-Control-Allow-Methods', value: 'GET,OPTIONS,PATCH,DELETE,POST,PUT' },
{
key: 'Access-Control-Allow-Headers',
value:
'X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version',
},
],
},
];
},
}; |
@stamatim Hey, eg:
|
@R-Bower hey just wanted to check did you manage to find any solution ? Thanks |
@R-Bower ok great. Thanks |
Hi everyone. With my team, we created a terraform module to deploy next.js apps on AWS. Feel free to try it |
After upgrading to Next.js 13, I get the following error during
tf-next build
:The text was updated successfully, but these errors were encountered: