Thank you for reporting this and for providing a solution.
Two questions:
Is there a particular reason for selecting 5.6.0? If not, I would go for the same version that Theia the framework uses, which would be 5.4.5 (and works for me)
Are you interested in contributing this fix? Would be here If you do not want to take the overhead of opening a PR, I am very happy to do it myself, but I do not want to take your credits! :-)
Generating a "Hello World" extension using Yeoman with
yo theia-extension
and then selecting "Hello World" fails with this error:I'm on Fedora 40 using Node 20.8.1.