Closed MisterJimson closed 6 days ago
If image optimization fails, it'll fall back to the original source. Your images are likely unoptimized; you can check in the developer tools in the Sources
tab.
As for the error, I'm not sure why getStore
error, looks like globalThis.__als
is undefined for you... not sure why.
We have an e2e test that checks for image optimization: https://github.com/sst/open-next/blob/main/packages/tests-e2e/tests/appRouter/image-optimization.test.ts and that appears to be working w/ the latest.
Update to 3.0.6. Should be fixed there
Fixed in 3.0.6! Thanks!
After updating to OpenNext v3 from v2, seeing the following in our logs.
Most requests to the ImageFunction lambda fail. Interesting in our UI, images generally seem to work, but we have seen a couple fail to display.
OpenNext: 3.0.5 SST: 2.43.3 NextJS: 14.2.4