package.json dosyasında deploy komutunu
"npm run clean && npm run build && next export -o dist/" olarak değiştirip dener misiniz.