Help me to run my older version on next js application in cloudflare #next.js
While I trying to export my successfully builded next js web application it throwing this error:
[email protected] export set NODE_VERSION=16.7.0 && npx next exportinfo - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5 info - using build directory: D:\Programmer\indie-spirit\client-projects\stead-fast-groups.next info - Copying "static build" directory info - No "exportPathMap" found in "next.config.js". Generating map from "./pages" Error: Image Optimization using Next.js' default loader is not compatible with
next export
.
Possible solutions:
- Use next start
to run a server, which includes the Image Optimization API.
- Use any provider which supports Image Optimization (like Vercel).
- Configure a third-party loader in next.config.js
.
- Use the loader
prop for next/image
.
Read more: https://nextjs.org/docs/messages/export-image-api
at D:\Programmer\indie-spirit\client-projects\stead-fast-groups\node_modules\next\dist\export\index.js:257:23
at async Span.traceAsyncFn (D:\Programmer\indie-spirit\client-projects\stead-fast-groups\node_modules\next\dist\telemetry\trace\trace.js:60:20)
#help assist me in resolving this error.0 Replies