Error: readdirp: root argument is required

Welcome to the forums @potamus

Are you deploying a Next.js app?

Have a look at this post for a possible solution as well as this thread which @hrishikesh has been working on.

Also related is this thread.