Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

check-msvc-runtime

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

check-msvc-runtime

Easily show a warning if the Microsoft Visual C++ Redistributable is not installed on Windows

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
39
increased by34.48%
Maintainers
0
Weekly downloads
 
Created
Source

Check-MSVC-Runtime

Part of HTTP Toolkit: powerful tools for building, testing & debugging HTTP

An npm package to easily show a warning if the Microsoft Visual C++ (MSVC) Redistributable is not installed on Windows.

Many Windows binaries won't run without the MSVC runtime installed, so this can cause problems, but those applications often don't provide a clear error. This makes it easy to end up with a hard-to-set up npm project. To handle that, this package makes it easy to cleanly detect and warn whenever this happens, so developers can easily resolve it themselves.

To use this:

  • npm install check-msvc-runtime
  • Add "preinstall": "check-msvc-runtime" to your package.json scripts

Now, any time you npm install in your repo on Windows, if the MSVC runtime isn't installed it'll fail and show:

> check-msvc-runtime@0.0.0 preinstall
> ./bin.js

***********************
The Microsoft Visual C++ Runtime is not installed, and is
required to set up this project on Windows.

Install it from:
https://learn.microsoft.com/cpp/windows/latest-supported-vc-redist
***********************

npm ERR! code 1
npm ERR! path .../check-msvc-runtime
npm ERR! command failed

Keywords

FAQs

Package last updated on 06 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc