Anton Karpenko
Anton Karpenko
In the beginning of `error.tsx` file please add: `'use client';` BTW. `use client` in backticks `` is not working :)
Got the same problem :( And spend more then hour to find this topic... Why this is not fixed for more then year?
Got the same error after **successful** build of Next.js application :) I use Next.js v14 with { output: "export" } config. I run on custom build image with Node 20:...
~~The issue disappears if change `baseDirectory` from "out" back to default ".next"~~ P.S. I also changed the building image to "Amazon Linux:2023" 
LOL, but after a successful build and deployment, the website is not working... I love Apmlify (c)