Zaktualizuj NextJS do 11
npm i next@latest react@latest react-dom@latest
Puzzled Porpoise
npm i next@latest react@latest react-dom@latest