0

I tried remove and install the related files for .net framework 3.5 (include the 2.0). Suggested in this stackoverflow

Tried to install visual studio 2005 as suggested in the second thing that was suggested in the error.

I cannot find hiredis folder under node_modules.

Other thing I tried to clean my cache and delete node_modules and reinstall again as suggested in this stackoverflow.

MSBUILD : 
error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 
1) install the .NET Framework 2.0 SDK, 
2) install Microsoft Visual Studio 2005 or 
3) add the location of the component to the system path if it is installed elsewhere.  
[D:\path\src\node_modules\hiredis\build\binding.sln]

The full error find in the image.

Hiredis Error

roger
  • 1,225
  • 2
  • 17
  • 33

1 Answers1

0

This apparently is a common error people come across as a window user.

If you are recently update your Visual studio to a new version such as 2012 and above will see similar from the above.

There are articurs on this, if you use the right search keys, here is one of them and the author explains it in details. link

three solutions:

1) npm install -g windows-build-tools stackoverflow

2) install visual studio 10 -> npm clear cache --force -> delete node_modules/ -> delete package-lock.js npm config set msvs_version 2010 -g

3) manually download the neccaries files then npm config set msvs_version -g github

roger
  • 1,225
  • 2
  • 17
  • 33