The official Windows installer for Node.JS now includes the required build tools. Therefore, npm install -g windows-build-tools should no longer be needed.
I am about to test this as I'm testing a new installation of Windows 11 if it doesn't work, I will update this post.
@knolleary, I think that the windows section of the install guide will need updating.
I'm a bit stretched for time as I have some family matters to deal with (I'm just taking a quick break to update my W11 test PC and thought I'd test Node-RED given the recent unpleasent post). I'll try to get to the docs when time permits.
I've not tried any upgrade combinations I'm afraid. This is a clean PC pretty much and it didn't have much on it since it was just a quick test of W11 UI some months back and I haven't had time to touch it since then.
I think that windows-build-tools simply installs the Microsoft C/C++ compiler and some dependent .NET libraries, maybe Python as well if it can't find one. So I imagine that removing that package will have zero effect. But don't moan at me if I'm wrong!!
I've only just noticed that I don't seem to have the package installed on my dev PC either so I probably forgot (it is a fairly new PC) to install it