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)
Mui 5 or 6 ?
For Next.js with **SSG** (`next.config.* { output: "export" }`) the only working solution, at least for now, is to **disable webframeworks** Run: `firebase experiments:disable webframeworks` to disable "firebase magic" Then...
> ```yaml > - env | grep -e NEXT_PUBLIC_APP_VERSION >> .env > ``` This approach is not working :( `NEXT_PUBLIC_APP_VERSION` contains "$npm_package_version" as string...