You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in next-13.4.3 the image response work well, but in next 13.16
I got the error in terminal , seems like exports is not supported in
- error Error [ReferenceError]: exports is not defined
- ReferenceError: exports is not defined
at eval (webpack-internal:///(middleware)/./node_modules/next/dist/compiled/@vercel/og/index.edge.js:3:23)
at (middleware)/./node_modules/next/dist/compiled/@vercel/og/index.edge.js (/Users/Project/shop-frontend/build/server/pages/api/og/product.js:1845:1)
at __webpack_require__ (/Users/Project/shop-frontend/build/server/edge-runtime-webpack.js:37:33)
at Function.fn (/Users/Project/shop-frontend/build/server/edge-runtime-webpack.js:295:21)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
If any issue is relation with my problem please tell me thanks
Verify canary release
I verified that the issue exists in the latest Next.js canary release
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Link to the code that reproduces this issue or a replay of the bug
https://github.com/va3y/grammy-next-edge/blob/next/pages/api/bot.ts
To Reproduce
Run the dev server and access the route
the og-image issue is the same as the repo url above
Current vs. Expected behavior
in next-13.4.3 the image response work well, but in next 13.16
I got the error in terminal , seems like exports is not supported in
If any issue is relation with my problem please tell me thanks
Verify canary release
Provide environment information
Which area(s) are affected? (Select all that apply)
Middleware / Edge (API routes, runtime)
Additional context
No response
The text was updated successfully, but these errors were encountered: