I had the same issue last June'22 trying to update 'node.js' and Node-RED.
I've just tried the suggestion (given in Colin's link above) & repeated below and can report it worked for me.
I had the same issue last June'22 trying to update 'node.js' and Node-RED.
I've just tried the suggestion (given in Colin's link above) & repeated below and can report it worked for me.