Search code examples
msbuildnpmnode-gyphubot

npm fails saying "The build tools for VS2010 cannot be found"


I'm trying to install Hubot on my local machine. Going well so far until I have encountered this error. The Error is pretty clear:

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.

However I am running the Hubot Initialization command Yo Hubot. And I am not able to use the /m switch. Any suggestions or advice on what I should do?

Error Screen


Solution

  • Enabling parallel build will not solve you problem, that one is just an informative message. The real problem is you don't have the Visual Studio version that was used to create one of the components Hubot needs.

    Try this: npm config set msvs_version 2012 (or 2013 if you have that one).