Hi again,
I believe we have currently a bug in the CLI which makes it unusable with Node 17.
We recommend using LTS versions of Node (12, 14, 16) as those are officially supported Node versions.
See this previous post: Forge install always fails - #4 by kchan
Hope this helps and will fix your issue.
Cheers,
Xavier