© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Khawaja Hamdan Ahmad
I am Software Engineer specializing in Java Spring boot and React js with Next js and also in Node js
How to do this with Next js 14 version
gigiyy
instead of using export command as shown in article, set output: 'export', in your next.config.ts instead. so you only need to run npm run build instead of export.
output: 'export',
npm run build