For me, I use Ubuntu 22.04, node version 22.11.0 and had that problem. After using nvm to set node version to 18.20.5, it works fine.