简体   繁体   中英

Install Visual C++ Compiler on Windows without installing whole Visual Studio

NOTE This question can be duplicate of this or this question.

But please don't close it as duplicate without reading entire question.

I'm trying to install npm module browsersync on Windows, and by reading its documentation, I found that module itself uses node-gyp which requires C++ compiler on Windows to build native extension. And that leads to installation of Visual Studio (community edition will do). After going through above linked questions (which I noted as duplicates of my current question), I found that Windows SDK used to ship with C++ compiler but now Visual Studio is required to have C++ compiler.

So my concern is, do I really need to download and install that hefty 6 GB VS Community edition just to get that C++ compiler to build browsersync on Windows? or is there any way to do that via GCC for Windows?

PS Earlier I faced similar situation for installing node-oracledb .

Thanks.

@Niall涵盖了可以获取实际C ++编译器的地方,但是如果您要查找有关该问题的更多信息,请在其使用独立编译器的github问题页面上获得有关如何启动node-gyp并在Windows上运行的演练。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM