durs / node-activex

Node.JS Implementaion of ActiveXObject
MIT License
329 stars 62 forks source link

Winax not re-installing after changing Visual Studio Versions #112

Open MarkPhsd opened 2 years ago

MarkPhsd commented 2 years ago

I had winax working for over a month without issue. After a Visual Studio update It stopped letting me compile my electron app. I have tried updating gyp, it shows v8 even though I installed 9. I have tried a variety of versions of winax, and node-gyp.

PS C:\Users\Mark\source\repos\CCSApp\electron> npm install winax@3.3.4 --msvs_version=2019 ----verbose npm verb cli [ npm verb cli 'C:\Program Files\nodejs\node.exe', npm verb cli 'C:\Users\Mark\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js', npm verb cli 'install', npm verb cli 'winax@3.3.4', npm verb cli '--msvs_version=2019', npm verb cli '----verbose' npm verb cli ] npm info using npm@7.20.5 npm info using node@v14.15.0 npm timing npm:load:whichnode Completed in 0ms npm timing config:load:defaults Completed in 1ms npm timing config:load:file:C:\Users\Mark\AppData\Roaming\npm\node_modules\npm\npmrc Completed in 5ms npm timing config:load:builtin Completed in 5ms npm timing config:load:cli Completed in 3ms npm timing config:load:env Completed in 1ms npm timing config:load:file:C:\Users\Mark\source\repos\CCSApp\electron.npmrc Completed in 1ms npm timing config:load:project Completed in 4ms npm timing config:load:file:C:\Users\Mark.npmrc Completed in 2ms npm timing config:load:user Completed in 2ms npm timing config:load:file:C:\Users\Mark\AppData\Roaming\npm\etc\npmrc Completed in 0ms npm timing config:load:global Completed in 0ms npm timing config:load:validate Completed in 0ms npm timing config:load:credentials Completed in 2ms npm timing config:load:setEnvs Completed in 1ms npm timing config:load Completed in 19ms npm timing npm:load:configload Completed in 20ms npm timing npm:load:setTitle Completed in 0ms npm timing npm:load:setupLog Completed in 1ms npm timing config:load:flatten Completed in 3ms npm timing npm:load:cleanupLog Completed in 3ms npm timing npm:load:configScope Completed in 0ms npm timing npm:load:projectScope Completed in 3ms npm timing npm:load Completed in 76ms npm timing arborist:ctor Completed in 1ms npm timing idealTree:init Completed in 352ms npm timing idealTree:userRequests Completed in 4ms npm verb shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules npm http fetch GET 200 https://registry.npmjs.org/winax 1257ms (cache revalidated) npm timing idealTree:#root Completed in 1274ms npm timing idealTree:node_modules/winax Completed in 0ms npm timing idealTree:buildDeps Completed in 1279ms npm timing idealTree:fixDepFlags Completed in 15ms npm timing idealTree Completed in 1670ms npm timing reify:loadTrees Completed in 1673ms npm timing reify:diffTrees Completed in 42ms npm timing reify:retireShallow Completed in 125ms npm timing reify:createSparse Completed in 2ms npm timing reify:loadBundles Completed in 0ms npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 117ms npm timing auditReport:getReport Completed in 123ms npm timing reifyNode:node_modules/winax Completed in 149ms npm timing reify:unpack Completed in 154ms npm timing reify:unretire Completed in 1ms npm timing metavuln:cache:get:security-advisory:electron:E7haWwcrFQZOWv7iV7flZ1Sz3LD5MiqUJfGJPmLuUrRPsBJhRM24qO7P/UbX8xNxmwzbIjGpWbrNqNAzEUPSNw== Completed in 41ms npm timing metavuln:cache:get:security-advisory:electron:GEr6Z0PY0YkqN/FBx1yZn9REH688abddOce4+mYXL7D+cu5FkJKnnxqLipvCtp3dljVzN3/yRDuCwOJDE0jqCQ== Completed in 48ms npm timing metavuln:cache:get:security-advisory:electron:jzzaFKOCBJsuDmG1oOhmT4OavMX1klCtQm4AyWwFtekzTI37zIUKut0n7DOOgF2BrtBfLU/lj8cbAHp3JxF82A== Completed in 46ms npm timing metavuln:cache:get:security-advisory:got:VDAqdWeBprXIM3ID/tj0yOqinr2LIY3dglkA/C/aM/Y9MNOK816kL4DQvwHiY6OuV+J0HRHAYvZDHl0QaZw/Og== Completed in 48ms npm timing metavuln:cache:get:security-advisory:ansi-regex:oghwc8GHLTDedB0i/YfIZjrosxvndRpO9sLl7cFOecNpi60X4gfTlbYGLWKxTWEGy+Cpg06Fvq/JwLAkzgzavg== Completed in 49ms npm timing metavuln:cache:get:security-advisory:ejs:g/4zKqKWGn5wKnB8/eAP6N5Eii77Q3GMMuUxFdtwJ0mrjgmjGkmqSngUwbsFUWaMhw1Ke7HdfgYM3MOi18PPUQ== Completed in 53ms npm timing metavuln:cache:get:security-advisory:plist:1iC2YXYRqHAfVYmnISJyCnLLvbdh3yPMZSH+z1zgN60SI864tlIsyThXtEqemA/r/ioUchxtdMQLqq9mxf5/7g== Completed in 53ms npm timing metavuln:cache:get:security-advisory:minimist:nZkhUdPEpKwzIx1nekYW4B7BHQyF2nm6J0JsgeP2HfA0DRMT5hhByRU71A4RPgtBbQPYEzVBozv8/mBZCafaGw== Completed in 52ms npm timing metavuln:cache:get:security-advisory:ansi-regex:jsZGSlrzeL/SJj1tvyGUN22Uwk0TCMB2toXvLH+kPL4GJAoP7c1Vrn7A89R4bql0mKhgtddfb3rJNjfHEa0/eg== Completed in 59ms npm timing build:queue Completed in 28ms npm timing build:link:node_modules/winax Completed in 56ms npm timing build:link Completed in 58ms npm info run winax@3.3.4 install node_modules/winax node-gyp rebuild npm http fetch GET 200 https://registry.npmjs.org/ejs 157ms (cache revalidated) npm timing metavuln:packument:ejs Completed in 162ms npm timing metavuln:load:security-advisory:ejs:1070412 Completed in 2ms npm timing metavuln:calculate:security-advisory:ejs:1070412 Completed in 172ms npm http fetch GET 200 https://registry.npmjs.org/ansi-regex 219ms (cache revalidated) npm timing metavuln:packument:ansi-regex Completed in 221ms npm timing metavuln:load:security-advisory:ansi-regex:1081346 Completed in 0ms npm timing metavuln:calculate:security-advisory:ansi-regex:1081346 Completed in 225ms npm timing metavuln:load:security-advisory:ansi-regex:1081347 Completed in 1ms npm timing metavuln:calculate:security-advisory:ansi-regex:1081347 Completed in 227ms npm http fetch GET 200 https://registry.npmjs.org/minimist 236ms (cache revalidated) npm timing metavuln:packument:minimist Completed in 239ms npm timing metavuln:load:security-advisory:minimist:1067342 Completed in 1ms npm timing metavuln:calculate:security-advisory:minimist:1067342 Completed in 242ms npm http fetch GET 200 https://registry.npmjs.org/plist 245ms (cache revalidated) npm timing metavuln:packument:plist Completed in 250ms npm timing metavuln:load:security-advisory:plist:1067298 Completed in 1ms npm timing metavuln:calculate:security-advisory:plist:1067298 Completed in 252ms npm http fetch GET 200 https://registry.npmjs.org/got 258ms (cache revalidated) npm timing metavuln:packument:got Completed in 265ms npm timing metavuln:load:security-advisory:got:1080920 Completed in 2ms npm timing metavuln:calculate:security-advisory:got:1080920 Completed in 270ms npm http fetch GET 200 https://registry.npmjs.org/electron 295ms (cache revalidated) npm timing metavuln:packument:electron Completed in 316ms npm timing metavuln:load:security-advisory:electron:1070353 Completed in 47ms npm timing metavuln:calculate:security-advisory:electron:1070353 Completed in 367ms npm timing metavuln:load:security-advisory:electron:1080841 Completed in 54ms npm timing metavuln:calculate:security-advisory:electron:1080841 Completed in 420ms npm timing metavuln:load:security-advisory:electron:1070899 Completed in 18ms npm timing metavuln:calculate:security-advisory:electron:1070899 Completed in 440ms npm timing metavuln:cache:get:security-advisory:app-builder-lib:wAwhsX0vsXzLttaPuljRs5ywLmslJPxHpZshL6Exq/ZjvBLIPlGVUKoW+Z1AlbDCz5xwcoVzG3p5Kaexdca6yw== Completed in 10ms npm http fetch GET 200 https://registry.npmjs.org/app-builder-lib 83ms (cache revalidated) npm timing metavuln:packument:app-builder-lib Completed in 92ms npm timing metavuln:load:security-advisory:app-builder-lib:g/4zKqKWGn5wKnB8/eAP6N5Eii77Q3GMMuUxFdtwJ0mrjgmjGkmqSngUwbsFUWaMhw1Ke7HdfgYM3MOi18PPUQ== Completed in 1ms npm timing metavuln:calculate:security-advisory:app-builder-lib:g/4zKqKWGn5wKnB8/eAP6N5Eii77Q3GMMuUxFdtwJ0mrjgmjGkmqSngUwbsFUWaMhw1Ke7HdfgYM3MOi18PPUQ== Completed in 96ms npm timing metavuln:cache:get:security-advisory:@electron/get:Ugt6SCDMfadUopHu0gZQdSCQyfcQOE6IIvD+wZfYnWEe9Ws2CKHCtIbh6JqW0s4KOCGCcJ6BLYnVAAilqPczSQ== Completed in 7ms npm timing metavuln:cache:get:security-advisory:package-json:T3ZXJGbEsPCBqborbg0f0+wAPX3vjxp1J7yUg4R8QmN1Ww3Qfm2zNW4PLHrDzCkp7GJZAtydwpR7x99S052H3A== Completed in 8ms npm http fetch GET 200 https://registry.npmjs.org/package-json 92ms (cache revalidated) npm timing metavuln:packument:package-json Completed in 96ms npm timing metavuln:load:security-advisory:package-json:VDAqdWeBprXIM3ID/tj0yOqinr2LIY3dglkA/C/aM/Y9MNOK816kL4DQvwHiY6OuV+J0HRHAYvZDHl0QaZw/Og== Completed in 0ms npm timing metavuln:calculate:security-advisory:package-json:VDAqdWeBprXIM3ID/tj0yOqinr2LIY3dglkA/C/aM/Y9MNOK816kL4DQvwHiY6OuV+J0HRHAYvZDHl0QaZw/Og== Completed in 100ms npm http fetch GET 200 https://registry.npmjs.org/@electron%2fget 115ms (cache revalidated) npm timing metavuln:packument:@electron/get Completed in 119ms npm timing metavuln:load:security-advisory:@electron/get:VDAqdWeBprXIM3ID/tj0yOqinr2LIY3dglkA/C/aM/Y9MNOK816kL4DQvwHiY6OuV+J0HRHAYvZDHl0QaZw/Og== Completed in 0ms npm timing metavuln:calculate:security-advisory:@electron/get:VDAqdWeBprXIM3ID/tj0yOqinr2LIY3dglkA/C/aM/Y9MNOK816kL4DQvwHiY6OuV+J0HRHAYvZDHl0QaZw/Og== Completed in 124ms npm timing metavuln:cache:get:security-advisory:strip-ansi:fSKtf6T4/ynJAd4xEyo8DuS3vn3pkiJdg8/rKr1xNbJU7OjJrfAqbzDkCaqOdpFsQRYNUJsRWGXa5MGNJMc5Hw== Completed in 5ms npm http fetch GET 200 https://registry.npmjs.org/strip-ansi 62ms (cache revalidated) npm timing metavuln:packument:strip-ansi Completed in 65ms npm timing metavuln:load:security-advisory:strip-ansi:oghwc8GHLTDedB0i/YfIZjrosxvndRpO9sLl7cFOecNpi60X4gfTlbYGLWKxTWEGy+Cpg06Fvq/JwLAkzgzavg== Completed in 1ms npm timing metavuln:calculate:security-advisory:strip-ansi:oghwc8GHLTDedB0i/YfIZjrosxvndRpO9sLl7cFOecNpi60X4gfTlbYGLWKxTWEGy+Cpg06Fvq/JwLAkzgzavg== Completed in 68ms npm timing metavuln:cache:get:security-advisory:strip-ansi:X5PkhKMxGKTnVy0vJDv0WBEcKHZI0EySB7dq3br4nH4wF0ny8amva1SrbiUE//pPFBEpb4LrquGaLX2FtxK+WQ== Completed in 2ms npm timing metavuln:load:security-advisory:strip-ansi:jsZGSlrzeL/SJj1tvyGUN22Uwk0TCMB2toXvLH+kPL4GJAoP7c1Vrn7A89R4bql0mKhgtddfb3rJNjfHEa0/eg== Completed in 0ms npm timing metavuln:calculate:security-advisory:strip-ansi:jsZGSlrzeL/SJj1tvyGUN22Uwk0TCMB2toXvLH+kPL4GJAoP7c1Vrn7A89R4bql0mKhgtddfb3rJNjfHEa0/eg== Completed in 4ms npm timing metavuln:cache:get:security-advisory:app-builder-lib:1gDDvg6YW8TC79MBf/I2Y8XrDGyw3xW99a2smSOClU425dOZd24n2zuZmM9aq7gnPN8lUlci6VWmG3Vw9DxETg== Completed in 5ms npm timing metavuln:load:security-advisory:app-builder-lib:1iC2YXYRqHAfVYmnISJyCnLLvbdh3yPMZSH+z1zgN60SI864tlIsyThXtEqemA/r/ioUchxtdMQLqq9mxf5/7g== Completed in 4ms npm timing metavuln:calculate:security-advisory:app-builder-lib:1iC2YXYRqHAfVYmnISJyCnLLvbdh3yPMZSH+z1zgN60SI864tlIsyThXtEqemA/r/ioUchxtdMQLqq9mxf5/7g== Completed in 11ms npm timing metavuln:cache:get:security-advisory:electron-osx-sign:8FFgX/G6kAdgwR8NB4UZXxKYfD5b7Gea1kCyqII8Dg2poKjgvRnPCNRGWrwDiuuctW0yj1ZEpM0fofRlWTglJA== Completed in 17ms npm http fetch GET 200 https://registry.npmjs.org/electron-osx-sign 87ms (cache revalidated) npm timing metavuln:packument:electron-osx-sign Completed in 90ms npm timing metavuln:load:security-advisory:electron-osx-sign:1iC2YXYRqHAfVYmnISJyCnLLvbdh3yPMZSH+z1zgN60SI864tlIsyThXtEqemA/r/ioUchxtdMQLqq9mxf5/7g== Completed in 1ms npm timing metavuln:calculate:security-advisory:electron-osx-sign:1iC2YXYRqHAfVYmnISJyCnLLvbdh3yPMZSH+z1zgN60SI864tlIsyThXtEqemA/r/ioUchxtdMQLqq9mxf5/7g== Completed in 95ms npm timing metavuln:cache:get:security-advisory:electron-osx-sign:dBHVnL0T268pOiSK6Oys37LI5/mJwjVHEB+EAzHnp8vx/zUeH2P5vDcixl1p1AEOgEmUxr7pWk90IFL79wULng== Completed in 11ms npm timing metavuln:load:security-advisory:electron-osx-sign:nZkhUdPEpKwzIx1nekYW4B7BHQyF2nm6J0JsgeP2HfA0DRMT5hhByRU71A4RPgtBbQPYEzVBozv8/mBZCafaGw== Completed in 0ms npm timing metavuln:calculate:security-advisory:electron-osx-sign:nZkhUdPEpKwzIx1nekYW4B7BHQyF2nm6J0JsgeP2HfA0DRMT5hhByRU71A4RPgtBbQPYEzVBozv8/mBZCafaGw== Completed in 15ms npm timing metavuln:cache:get:security-advisory:mkdirp:CE+8U4ZPtjiJPdI/iyhBm/J/6iJ6W46YsdmRUqqyg6mDC09+mfWZqqAHYSzlnfbGA992zvUCP+SrVPVrG01dvA== Completed in 15ms npm timing metavuln:cache:get:security-advisory:rc:X9hqvqcaTV2mjaYJ7NE0U+MyQuvKMs63I+NEKfZvIkiJ9XLe5gNrG1/85pKxkv/MSh0kVYUeTxYBH/JvGLaxqQ== Completed in 15ms npm timing metavuln:cache:get:security-advisory:json5:/9TYCj8NfVqcASrNQYp1v8TunWd0zUn2n1jmc9L0Z17yuaRhLPtFxvzfBPL/krhlmh2oRA3bsjD2HXrah8NRZg== Completed in 19ms npm http fetch GET 200 https://registry.npmjs.org/json5 96ms (cache revalidated) npm timing metavuln:packument:json5 Completed in 99ms npm timing metavuln:load:security-advisory:json5:nZkhUdPEpKwzIx1nekYW4B7BHQyF2nm6J0JsgeP2HfA0DRMT5hhByRU71A4RPgtBbQPYEzVBozv8/mBZCafaGw== Completed in 0ms npm timing metavuln:calculate:security-advisory:json5:nZkhUdPEpKwzIx1nekYW4B7BHQyF2nm6J0JsgeP2HfA0DRMT5hhByRU71A4RPgtBbQPYEzVBozv8/mBZCafaGw== Completed in 102ms npm http fetch GET 200 https://registry.npmjs.org/mkdirp 120ms (cache revalidated) npm timing metavuln:packument:mkdirp Completed in 123ms npm timing metavuln:load:security-advisory:mkdirp:nZkhUdPEpKwzIx1nekYW4B7BHQyF2nm6J0JsgeP2HfA0DRMT5hhByRU71A4RPgtBbQPYEzVBozv8/mBZCafaGw== Completed in 0ms npm timing metavuln:calculate:security-advisory:mkdirp:nZkhUdPEpKwzIx1nekYW4B7BHQyF2nm6J0JsgeP2HfA0DRMT5hhByRU71A4RPgtBbQPYEzVBozv8/mBZCafaGw== Completed in 125ms npm http fetch GET 200 https://registry.npmjs.org/rc 126ms (cache revalidated) npm timing metavuln:packument:rc Completed in 130ms npm timing metavuln:load:security-advisory:rc:nZkhUdPEpKwzIx1nekYW4B7BHQyF2nm6J0JsgeP2HfA0DRMT5hhByRU71A4RPgtBbQPYEzVBozv8/mBZCafaGw== Completed in 1ms npm timing metavuln:calculate:security-advisory:rc:nZkhUdPEpKwzIx1nekYW4B7BHQyF2nm6J0JsgeP2HfA0DRMT5hhByRU71A4RPgtBbQPYEzVBozv8/mBZCafaGw== Completed in 135ms npm timing metavuln:cache:get:security-advisory:dmg-builder:cHEz/5j2m69ft1gJbFzOyD9kZ8zmJpjqJerDGMLedGNKsfvfMG2dKpUIfXItsNX0t7BgEAkFsLHg2YSV+rRotQ== Completed in 10ms npm timing metavuln:cache:get:security-advisory:electron-builder:Se0/bxRyZFD+xKbI0ZDHKuQGcPKqRmHUD/15v0Y7SPyBAbp19fw++JSj9yW2EUGyl2PB8LJaTSzSV1aoFiJjsQ== Completed in 11ms npm http fetch GET 200 https://registry.npmjs.org/dmg-builder 35ms (cache hit) npm timing metavuln:packument:dmg-builder Completed in 42ms npm timing metavuln:load:security-advisory:dmg-builder:wAwhsX0vsXzLttaPuljRs5ywLmslJPxHpZshL6Exq/ZjvBLIPlGVUKoW+Z1AlbDCz5xwcoVzG3p5Kaexdca6yw== Completed in 1ms npm timing metavuln:calculate:security-advisory:dmg-builder:wAwhsX0vsXzLttaPuljRs5ywLmslJPxHpZshL6Exq/ZjvBLIPlGVUKoW+Z1AlbDCz5xwcoVzG3p5Kaexdca6yw== Completed in 46ms npm http fetch GET 200 https://registry.npmjs.org/electron-builder 108ms (cache revalidated) npm timing metavuln:packument:electron-builder Completed in 186ms npm timing metavuln:load:security-advisory:electron-builder:wAwhsX0vsXzLttaPuljRs5ywLmslJPxHpZshL6Exq/ZjvBLIPlGVUKoW+Z1AlbDCz5xwcoVzG3p5Kaexdca6yw== Completed in 17ms npm timing metavuln:calculate:security-advisory:electron-builder:wAwhsX0vsXzLttaPuljRs5ywLmslJPxHpZshL6Exq/ZjvBLIPlGVUKoW+Z1AlbDCz5xwcoVzG3p5Kaexdca6yw== Completed in 212ms npm timing metavuln:cache:get:security-advisory:latest-version:px3BGTh0zXO0FGPeGweQ9jqShrQQXkwvso85ThJdSYlN4ZaZJDL3uEj6l9X6a7TaVNgKnd3jqWD9VSx0Ti/yzQ== Completed in 12ms npm http fetch GET 200 https://registry.npmjs.org/latest-version 132ms (cache revalidated) npm timing metavuln:packument:latest-version Completed in 136ms npm timing metavuln:load:security-advisory:latest-version:T3ZXJGbEsPCBqborbg0f0+wAPX3vjxp1J7yUg4R8QmN1Ww3Qfm2zNW4PLHrDzCkp7GJZAtydwpR7x99S052H3A== Completed in 0ms npm timing metavuln:calculate:security-advisory:latest-version:T3ZXJGbEsPCBqborbg0f0+wAPX3vjxp1J7yUg4R8QmN1Ww3Qfm2zNW4PLHrDzCkp7GJZAtydwpR7x99S052H3A== Completed in 138ms npm timing metavuln:cache:get:security-advisory:electron:Q4kl4qyLh6LCedqb7JjanaT8ET8ZMB39gM78hdQdkR0QLLTHzpj4vbOapaRE1fU251ZsytJlR9d4QY/cavfrcQ== Completed in 2ms npm timing metavuln:load:security-advisory:electron:Ugt6SCDMfadUopHu0gZQdSCQyfcQOE6IIvD+wZfYnWEe9Ws2CKHCtIbh6JqW0s4KOCGCcJ6BLYnVAAilqPczSQ== Completed in 21ms npm timing metavuln:calculate:security-advisory:electron:Ugt6SCDMfadUopHu0gZQdSCQyfcQOE6IIvD+wZfYnWEe9Ws2CKHCtIbh6JqW0s4KOCGCcJ6BLYnVAAilqPczSQ== Completed in 28ms npm timing metavuln:cache:get:security-advisory:electron-builder:pbjW4Gwjb01NhgmPipL4A73r29/bIuacSmAVn4TIZV1MVHayZhjbC465bKd8fRabdKh64/j7Fcx/AMrf+rrHrQ== Completed in 9ms npm timing metavuln:load:security-advisory:electron-builder:cHEz/5j2m69ft1gJbFzOyD9kZ8zmJpjqJerDGMLedGNKsfvfMG2dKpUIfXItsNX0t7BgEAkFsLHg2YSV+rRotQ== Completed in 10ms npm timing metavuln:calculate:security-advisory:electron-builder:cHEz/5j2m69ft1gJbFzOyD9kZ8zmJpjqJerDGMLedGNKsfvfMG2dKpUIfXItsNX0t7BgEAkFsLHg2YSV+rRotQ== Completed in 26ms npm timing metavuln:cache:get:security-advisory:update-notifier:xP9mRUu7m2mo/448iOKQBNLQe2N0zzOtFmffIfl+EP72ua2qlDbi4Wmy47kf6ngmCp6oXq5KSrlC0sT177Bjvg== Completed in 6ms npm http fetch GET 200 https://registry.npmjs.org/update-notifier 69ms (cache revalidated) npm timing metavuln:packument:update-notifier Completed in 72ms npm timing metavuln:load:security-advisory:update-notifier:px3BGTh0zXO0FGPeGweQ9jqShrQQXkwvso85ThJdSYlN4ZaZJDL3uEj6l9X6a7TaVNgKnd3jqWD9VSx0Ti/yzQ== Completed in 1ms npm timing metavuln:calculate:security-advisory:update-notifier:px3BGTh0zXO0FGPeGweQ9jqShrQQXkwvso85ThJdSYlN4ZaZJDL3uEj6l9X6a7TaVNgKnd3jqWD9VSx0Ti/yzQ== Completed in 74ms npm timing metavuln:cache:get:security-advisory:electron-builder:YsUyPVjiTjxWw/RfhFcyPCsH2D4Q7F2whBXLLS22kSNogjq+UMk+WUbPIOy7yhM8SUKHtlPS2rvSWeFC947B9Q== Completed in 5ms npm timing metavuln:load:security-advisory:electron-builder:xP9mRUu7m2mo/448iOKQBNLQe2N0zzOtFmffIfl+EP72ua2qlDbi4Wmy47kf6ngmCp6oXq5KSrlC0sT177Bjvg== Completed in 7ms npm timing metavuln:calculate:security-advisory:electron-builder:xP9mRUu7m2mo/448iOKQBNLQe2N0zzOtFmffIfl+EP72ua2qlDbi4Wmy47kf6ngmCp6oXq5KSrlC0sT177Bjvg== Completed in 12ms npm timing auditReport:init Completed in 1670ms npm timing reify:audit Completed in 1800ms npm info run winax@3.3.4 install { code: 7, signal: null } npm timing reify:rollback:createSparse Completed in 55ms npm timing reify:rollback:retireShallow Completed in 114ms npm timing command:install Completed in 5087ms npm verb stack Error: command failed npm verb stack at ChildProcess. (C:\Users\Mark\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\promise-spawn\index.js:64:27) npm verb stack at ChildProcess.emit (events.js:315:20) npm verb stack at maybeClose (internal/child_process.js:1048:16) npm verb stack at Socket. (internal/child_process.js:439:11) npm verb stack at Socket.emit (events.js:315:20) npm verb stack at Pipe. (net.js:673:12) npm verb pkgid winax@3.3.4 npm verb cwd C:\Users\Mark\source\repos\CCSApp\electron npm verb Windows_NT 10.0.19043 npm verb argv "C:\Program Files\nodejs\node.exe" "C:\Users\Mark\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "winax@3.3.4" "--msvs_version=2019" "----verbose" npm verb node v14.15.0 npm verb npm v7.20.5 npm ERR! code 7 npm ERR! path C:\Users\Mark\source\repos\CCSApp\electron\node_modules\winax npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild npm ERR! gyp info it worked if it ends with ok npm ERR! gyp verb cli [ npm ERR! gyp verb cli 'C:\Program Files\nodejs\node.exe', npm ERR! gyp verb cli 'C:\Users\Mark\source\repos\CCSApp\node_modules\node-gyp\bin\node-gyp.js', npm ERR! gyp verb cli 'rebuild' npm ERR! gyp verb cli ] npm ERR! gyp info using node-gyp@8.4.1 npm ERR! gyp info using node@14.15.0 | win32 | x64 npm ERR! gyp verb command rebuild [] npm ERR! gyp verb command clean [] npm ERR! gyp verb clean removing "build" directory npm ERR! gyp verb command configure [] npm ERR! gyp verb find Python checking Python explicitly set from command line or npm configuration npm ERR! gyp verb find Python - "--python=" or "npm config get python" is "C:\Users\Mark.windows-build-tools\python27\python.exe" npm ERR! gyp verb find Python - executing "C:\Users\Mark.windows-build-tools\python27\python.exe" to get executable path npm ERR! gyp verb find Python - executable path is "C:\Users\Mark.windows-build-tools\python27\python.exe" npm ERR! gyp verb find Python - executing "C:\Users\Mark.windows-build-tools\python27\python.exe" to get version npm ERR! gyp verb find Python - version is "2.7.15" npm ERR! gyp verb find Python - version is 2.7.15 - should be >=3.6.0 npm ERR! gyp verb find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED npm ERR! gyp verb find Python Python is not set from environment variable PYTHON npm ERR! gyp verb find Python checking if "python3" can be used npm ERR! gyp verb find Python - executing "python3" to get executable path npm ERR! gyp verb find Python - "python3" is not in PATH or produced an error npm ERR! gyp verb find Python checking if "python" can be used npm ERR! gyp verb find Python - executing "python" to get executable path npm ERR! gyp verb find Python - executable path is "C:\Python310\python.exe" npm ERR! gyp verb find Python - executing "C:\Python310\python.exe" to get version npm ERR! gyp verb find Python - version is "3.10.2" npm ERR! gyp info find Python using Python version 3.10.2 found at "C:\Python310\python.exe" npm ERR! gyp verb get node dir no --target version specified, falling back to host node version: 14.15.0 npm ERR! gyp verb command install [ '14.15.0' ] npm ERR! gyp verb install input version string "14.15.0" npm ERR! gyp verb install installing version: 14.15.0 npm ERR! gyp verb install --ensure was passed, so won't reinstall if already installed npm ERR! gyp verb install version is already installed, need to check "installVersion" npm ERR! gyp verb got "installVersion" 9 npm ERR! gyp verb needs "installVersion" 9 npm ERR! gyp verb install version is good npm ERR! gyp verb get node dir target node version installed: 14.15.0 npm ERR! gyp verb build dir attempting to create "build" dir: C:\Users\Mark\source\repos\CCSApp\electron\node_modules\winax\build npm ERR! gyp verb build dir "build" dir needed to be created? Yes npm ERR! gyp verb find VS msvs_version was set from command line or npm config npm ERR! gyp verb find VS - looking for Visual Studio version 2019 npm ERR! gyp verb find VS VCINSTALLDIR not set, not running in VS Command Prompt npm ERR! gyp verb find VS checking VS2022 (17.2.32630.192) found at: npm ERR! gyp verb find VS "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools" npm ERR! gyp verb find VS - found "Visual Studio C++ core features" npm ERR! gyp verb find VS - missing any VC++ toolset npm ERR! gyp verb find VS checking VS2022 (17.2.32630.192) found at: npm ERR! gyp verb find VS "C:\Program Files\Microsoft Visual Studio\2022\Community" npm ERR! gyp verb find VS - found "Visual Studio C++ core features" npm ERR! gyp verb find VS - missing any VC++ toolset npm ERR! gyp verb find VS checking VS2019 (16.11.32630.194) found at: npm ERR! gyp verb find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional" npm ERR! gyp verb find VS - found "Visual Studio C++ core features" npm ERR! gyp verb find VS - found VC++ toolset: v142 npm ERR! gyp verb find VS - found Windows SDK: 10.0.18362.0 npm ERR! gyp info find VS using VS2019 (16.11.32630.194) found at: npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional" npm ERR! gyp info find VS run with --verbose for detailed information npm ERR! gyp verb build/config.gypi creating config file npm ERR! gyp verb build/config.gypi writing out config file: C:\Users\Mark\source\repos\CCSApp\electron\node_modules\winax\build\config.gypi npm ERR! gyp verb config.gypi checking for gypi file: C:\Users\Mark\source\repos\CCSApp\electron\node_modules\winax\config.gypi npm ERR! gyp verb common.gypi checking for gypi file: C:\Users\Mark\source\repos\CCSApp\electron\node_modules\winax\common.gypi npm ERR! gyp verb gyp gyp format was not specified; forcing "msvs" npm ERR! gyp info spawn C:\Python310\python.exe npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args 'C:\Users\Mark\source\repos\CCSApp\node_modules\node-gyp\gyp\gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'msvs', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'C:\Users\Mark\source\repos\CCSApp\electron\node_modules\winax\build\config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'C:\Users\Mark\source\repos\CCSApp\node_modules\node-gyp\addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'C:\Users\Mark\AppData\Local\node-gyp\Cache\14.15.0\include\node\common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=C:\Users\Mark\AppData\Local\node-gyp\Cache\14.15.0', npm ERR! gyp info spawn args '-Dnode_gyp_dir=C:\Users\Mark\source\repos\CCSApp\node_modules\node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\Users\\Mark\\AppData\\Local\\node-gyp\\Cache\\14.15.0\\<(target_arch)\\node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=C:\Users\Mark\source\repos\CCSApp\electron\node_modules\winax', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'C:\Users\Mark\source\repos\CCSApp\electron\node_modules\winax\build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp verb command build [] npm ERR! gyp verb build type Release npm ERR! gyp verb architecture x64 npm ERR! gyp verb node dev dir C:\Users\Mark\AppData\Local\node-gyp\Cache\14.15.0 npm ERR! gyp verb found first Solution file build/binding.sln npm ERR! gyp verb using MSBuild: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe npm ERR! gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args 'build/binding.sln', npm ERR! gyp info spawn args '/nologo', npm ERR! gyp info spawn args '/p:Configuration=Release;Platform=x64' npm ERR! gyp info spawn args ] npm ERR! gyp ERR! UNCAUGHT EXCEPTION npm ERR! gyp ERR! stack Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe ENOENT npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19) npm ERR! gyp ERR! stack at onErrorNT (internal/child_process.js:465:16) npm ERR! gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:80:21) npm ERR! gyp ERR! System Windows_NT 10.0.19043 npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Mark\source\repos\CCSApp\node_modules\node-gyp\bin\node-gyp.js" "rebuild" npm ERR! gyp ERR! cwd C:\Users\Mark\source\repos\CCSApp\electron\node_modules\winax npm ERR! gyp ERR! node -v v14.15.0 npm ERR! gyp ERR! node-gyp -v v8.4.1 npm ERR! gyp ERR! Node-gyp failed to build your package. npm ERR! gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. npm verb exit 7 npm timing npm Completed in 5841ms npm verb unfinished npm timer reify 1657782342658 npm verb unfinished npm timer reify:build 1657782344711 npm verb unfinished npm timer build 1657782344712 npm verb unfinished npm timer build:deps 1657782344712 npm verb unfinished npm timer build:run:install 1657782344807 npm verb unfinished npm timer build:run:install:node_modules/winax 1657782344808 npm verb code 7

MarkPhsd commented 2 years ago

I resolved this issue by uninstalling all of the visual studios, installing 2022 and installing 2019 tools. Then rebuilding winax using "rebuild": "electron-rebuild -f -w winax --msvs_version=2019"