I’ve tried reproducing the error by installing a DatoCMS NextJS demo we provide here:Next.js Template blog - Start a Next.js blog in minutes
And after running npm update i wasn’t able to reproduce the issue, as it worked normally.
Perhaps there are some project specific problems that could be causing a conflict. Could you send us your project at support@datocms.com so we can take a closer look?