在stackoverflow上看到一個(gè)解決方法:
# before installing node-gyp on windows
npm install --global --production windows-build-tools
# install node-gyp globally
npm install -g node-gyp
不過后面并沒有等到解決怠堪,卡在第一步,最終我把node的版本回滾到7.6.0冕末,然后成功了姆另。
在stackoverflow上看到一個(gè)解決方法:
# before installing node-gyp on windows
npm install --global --production windows-build-tools
# install node-gyp globally
npm install -g node-gyp
不過后面并沒有等到解決怠堪,卡在第一步,最終我把node的版本回滾到7.6.0冕末,然后成功了姆另。