Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

MSBUILD : error MSB4132: The tools version "2.0" is unrecognized. Available tools versions are "4.0" #59

Open
MarkMasiak opened this issue Mar 3, 2018 · 1 comment

Comments

@MarkMasiak
Copy link

MarkMasiak commented Mar 3, 2018

PRE-REQUISTE

If you are seeing the following errors it's down to missing OLD visual studio C++ Redist
"
Uploading SPFx assets to the CDN
dir : Cannot find path 'C:\GDPRActivityHUB\GDPRHub\GDPRStarterKit\temp\deploy' because it does not exist.
"

open up a new cmd as administrator and run this command:
npm install --global --production windows-build-tools
then
npm config set msvs_version 2015 --global
close all instances of shell, reopen powershell return to your directory where you are trying to run GDPR Activity Hub

@IanMayo
Copy link

IanMayo commented Jun 13, 2019

Been battling with this all afternoon, while trying to build node-gyp - the above steps worked for me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants