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
I added @cf-wasm/proton and tried running the example api route to resize an image using photon (A high-performance image processing library written in rust).
While it works in the next js environment and on next-on-pages, it does not work in opennext-cloudflare's workerd environment
Caution
Middleware is not supported in minimal mode. Please remove the NEXT_MINIMAL environment variable
> [email protected] dev
> next dev
▲ Next.js 14.2.5
- Local: http://localhost:3000
✓ Starting...
✓ Ready in 1663ms
✓ Compiled /api/image in 141ms (137 modules)
GET /api/image 200 in 236m
I added @cf-wasm/proton and tried running the example api route to resize an image using photon (A high-performance image processing library written in rust).
While it works in the next js environment and on next-on-pages, it does not work in opennext-cloudflare's workerd environment
Caution
Middleware is not supported in minimal mode. Please remove the
NEXT_MINIMAL
environment variableHere are minimal reproducible example for OpenNext and next-on-pages
next dev
# "dev": "next dev" npm run dev
Logs:
workerd
To run in workerd
# "preview": "cloudflare && wrangler dev" npm run preview
Example repos to recreate this issue:
The text was updated successfully, but these errors were encountered: