From 651e7d21c4c1e66102d9cdfb1230921adffb41f7 Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Wed, 1 Aug 2018 10:35:03 -0700 Subject: [PATCH] Try setting npm_config_msvs_version --- appveyor-gn.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/appveyor-gn.yml b/appveyor-gn.yml index 2aa6e87ce18..e087d27ca52 100644 --- a/appveyor-gn.yml +++ b/appveyor-gn.yml @@ -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