Skip to content

Instantly share code, notes, and snippets.

@oskwazir
Created March 3, 2014 03:17
Show Gist options
  • Save oskwazir/9317852 to your computer and use it in GitHub Desktop.
Save oskwazir/9317852 to your computer and use it in GitHub Desktop.
How to fix error MSB8020 when installing npm modules on Windows

When installing some npm modules on Windows an error may show up that says:

error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found.

What you can do is set your installed version of Visual Studio when running npm install.

To do that simply run:

npm install <module> -msvs_version=2013

where msvs_version is equal to the version of Visual Studio that you have.

Yay!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment