node-gyp build error windows x64

前端 未结 10 1537
情书的邮戳
情书的邮戳 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:21

    If all above did not work (my case - Windows10 64bit)

    Delete C:\Users\user_name\.node-gyp

    Delete %AppData%/npm

    Delete %AppData%/npm-cache

    And install node-gyp again

    Following instruction on node-gyp page

    I chose Option 1 npm install --global --production windows-build-tools

提交回复
热议问题