npm install fails with error C2373 with vs2015 update 3

后端 未结 3 1609
花落未央
花落未央 2021-01-30 01:35

After reinstalling my machine with windows 10, setting it up with Visual Studio 2015 I encountered this error on installing my git repositories:

npm

3条回答
  •  故里飘歌
    2021-01-30 02:23

    An alternative solution that doesn't involve messing with npm installation is to run

    SET CL=-DDELAYIMP_INSECURE_WRITABLE_HOOKS %CL%
    

    before running npm install

提交回复
热议问题