Looks like the bug affects all currently supported Node versions so
let's just unconditionally downgrade npm to 6.11.3 for now.
@@ -29,7 +29,7 @@ environment:
install:
- ps: Install-Product node $env:NODEJS_VERSION $env:PLATFORM
# Workaround until https://github.com/nodejs/node-gyp/issues/1933 is fixed.
- - ps: if (($Env:NODEJS_VERSION -as [int]) -gt 10) { npm install -g npm@6.11.3 }
+ - npm install -g npm@6.11.3
- npm config set msvs_version 2015
- node -e "console.log(process.argv[0], process.arch, process.versions)"
- curl -sSf -o rustup-init.exe https://win.rustup.rs
