change the version of nextjs code example Example: nextjs version 10 npm install next@latest //upgrage from v9 to v10