node-gyp build error windows x64

前端 未结 10 1532
情书的邮戳
情书的邮戳 2020-11-28 22:05

Here\'s what I\'ve done so far on my x64 OS:

  • Installed Python (v2.7 --specifically 2.7.6) and added it to the system path (C:\\Python27)
  • Installed MS
10条回答
  •  抹茶落季
    2020-11-28 22:14

    npm config set msvs_version 2013 --global worked for me as I use VS node tools and you dont need to specify msvs_version each time you do an npm install.

    I had an issue whereby npm's config (c:\Users\username\ .npmrc) has an entry msvs_version=2012 which was out of date.

提交回复
热议问题