Now I try to update Nodejs on Macos according to this guide. However, one error is here
When I try to run Sudo npm install -g n
again, another error comes up
Could someone help me how to fix it?
If you want to update node, a better way to do it would be to just download the installer again and run it.