npm install error - MSB3428: Could not load the Visual C++ component “VCBuild.exe”

前端 未结 16 2276
旧时难觅i
旧时难觅i 2020-11-29 14:17

I\'m trying to use the

npm install steam

but I am getting an error saying

I\'m not sure how to fix this and I have gotten

16条回答
  •  甜味超标
    2020-11-29 15:16

    As Matt said (https://stackoverflow.com/a/43323045/2767413) you should install the build-tools for windows. However, I did it via cmd and got an error, although I am the administrator -

    Please restart this script from an administrative PowerShell!
    The build tools cannot be installed without administrative rights.
    To fix, right-click on PowerShell and run "as Administrator".
    

    I got the same error via a PowerShell.

    For windows 7, the administrative PowerShell can be found under:

    Control Panel -> System and Security -> Administrative Tools -> Windows PowerShell Modules

提交回复
热议问题