sp-dev-gdpr-activity-hub icon indicating copy to clipboard operation
sp-dev-gdpr-activity-hub copied to clipboard

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

Open MarkMasiak opened this issue 7 years ago • 1 comments

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

MarkMasiak avatar Mar 03 '18 08:03 MarkMasiak

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

IanMayo avatar Jun 13 '19 17:06 IanMayo