-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm install fails - The build tools for v141 cannot be found #115
Comments
@radcapitalist You'll want to make sure you have the node-gyp dependencies installed. I set them up locally by using chocolatey to install the
Let me know if this doesn't work for you. |
Also: was the command exiting non-zero for you? Or just printing out an error message? In my local testing, |
@melloc suppress-error.js doesn't seem to be suppressing node-gyp failures on Windows. 0.8.6 is in use by bunyan which is a dependency of ldapjs, and it spits out horrible error messages on an npm install when it finds python wasn't installed. It's a harmless error but really confusing to customers who think they have an error:
|
Hey,
I have a dependency on dtrace-provider (0.8.6) from bunyan. When I npm install, I get this failure:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5): error MSB8020: The build tools for v141 (Platform Toolset = 'v141') cannot be found. To build using the v141 build tools, please install v141 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [c:\blah\blah\blah\blah\blah\node_modules\dtrace-provider\build\DTraceProviderStub.vcxproj]
I installed 32-bit and 64-bit VC 2017 redist. It didn't help. I uninstalled that and installed VC 2015 redist (32-bit and 64-bit). it didn't help. How do I get this to install (and build) cleanly?
Thanks,
Eric
The text was updated successfully, but these errors were encountered: