You are using a version of node that is too recent. See this GitHub issue.
I had the same error and it went away by downgrading node v23 to node v22.