Watch the video:
Timestamps:
0:00 - Example
1:39 - Switching from Current to LTS, or back
3:40 - What does the MSBuild error mean?
Want to install something using npm, but can’t because of an annoying MSBuild error code? Well, this video has a permanent solution that may not be the best, but it’s something that worked for me and will likely work for you as well. It’s a super quick fix that you can use immediately. If you want to carry on debugging this issue further, you’re more than welcome but this would have saved me 5-6 hours had I known something so simple could have been done.
Node download: https://nodejs.org/en/download/