I followed Microsoft docs for setting the SharePoint framework. https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment But when I got to the point where you are supposed to install the generator it gives me this error.
>>
PS C:\Users\jakub.yaghob> npm install @microsoft/generator-sharepoint -g
>>
npm WARN notsup Unsupported engine for got@5.7.1: wanted: {"node":">=0.10.0 <7"}
(current: {"node":"12.13.0","npm":"6.13.0"})
>>
npm WARN notsup Not compatible with your version of node/npm: got@5.7.1
>>
+ @microsoft/generator-sharepoint@1.9.1
updated 1 package in 8.851s
I have tried older versions of node.js but either they were too old for them to work with the new npm or they were too new to work with the generator. Any help would be greatly appreciated. Thanks!