MSB3411 Could not load Visual C++ component

后端 未结 4 2184
予麋鹿
予麋鹿 2021-02-15 14:08

I have MS Visual Studio 2012 Ultimate and OS is Windows 7, and have nodeJs installed.I wanted to install socket.io using npm,but I get the following error.

C:\\U         


        
4条回答
  •  梦如初夏
    2021-02-15 14:43

    Sorry to dig up an old question, but your question is the first result when I searched for "Socket.io VCBuild"

    The solution I found, after stumbling around on StackOverflow was:

    npm install socket.io --msvs_version=2012

    Update from @petf-felzmann. If you're using VS 2015 you can use:

    npm install socket.io --msvs_version=2015

提交回复
热议问题