paixaop / node-sodium

Port of the lib sodium encryption library to Node.js
MIT License
351 stars 126 forks source link

Console error 'msvsversiion not defined' when invalid Visual Studio Version is found #147

Closed JesseHermes closed 5 years ago

JesseHermes commented 5 years ago

If and invalid version is found for the value of npm_config_msvs_version the below error is written to console instead of the expected output

console.log('Invalid msvs_version ' + msvsVersion + '\n'); ReferenceError: msvsVersion is not defined at ErrorInvalidMSVSVersion install.js:312:43