diff --git a/lib/install.js b/lib/install.js index 3d6070b51c..93e05ec54e 100644 --- a/lib/install.js +++ b/lib/install.js @@ -323,12 +323,15 @@ function install (fs, gyp, argv, callback) { req.on('error', done) req.on('response', function (res) { - if (res.statusCode !== 200) { - if (res.statusCode === 404 && arch === 'arm64') { + if (res.statusCode === 404) { + if (arch === 'arm64') { // Arm64 is a newer platform on Windows and not all node distributions provide it. - log.verbose(res.statusCode + ' status code downloading ' + name) - return + log.verbose(`${name} was not found in ${libUrl}`) + } else { + log.warn(`${name} was not found in ${libUrl}`) } + return + } else if (res.statusCode !== 200) { done(new Error(res.statusCode + ' status code downloading ' + name)) return }