Recently, I was learning how to create an app we can use as a tab in MS Teams. Microsoft has provided a simple tutorial to get things started.
I installed the prerequisites as mentioned in the blog. But when I created a tab app with SPFx, I got the error "Failed to Install SharePoint Generator".
Resolution
The issue with this tutorial is that it provides details - Use the Node.js version 14 or 16 LTS release version of Node js. It has directly provided a link to the Node Js Home page, showcasing their latest version for download. You need to scroll down to see the previous release, and in that, you need to find out the 14 LTS version.
When I looked into the error log, I discovered that the Node version supported should be 14.14.0 to 15.0.0. Once I installed the correct version, I completed the app creation process.
I am sharing this information as I cannot see any way to contact Microsoft to update the tutorial. I hope if someone needs help, this will provide some help.