Try setting npm_config_msvs_version

This commit is contained in:
Jeremy Apthorp 2018-08-01 10:35:03 -07:00
parent 63604278ec
commit 651e7d21c4

View file

@ -30,6 +30,7 @@ build_script:
test_script:
- ninja -C out/Default electron/build/node:headers
- ps: $env:npm_config_nodedir="$pwd/out/Default/gen/node_headers"
- ps: $env:npm_config_msvs_version="2017"
- ps: Push-Location; cd electron/spec
- npm install
- ps: Pop-Location