So apparently since next@13.4.x they're using undici instead of node-fetch and that causes this error.
There're plenty of GH issues related and it seems that it's not solved in next 14.0.3.
vercel/next.js#44062
vercel/next.js#54961
I don't know how relevant this issue can be but posting instead someone else’s struggling with client functions like createWebsite.
