Update
this seems to be fixed in newer versions, and this solution is no longer required.
since mukesh51 is not answering my question, and Bhargav Rao removed mukesh51's answer from the question itself, I put the answer here:
Installation works as follows:
npm install -g node-gypnpm install -g windows-build-toolsnpm install -g @angular/cli
I took the following steps: here .
source
share