Install: log the fallback to build from source

https://github.com/lovell/sharp-libvips/issues/18
This commit is contained in:
Lovell Fuller 2019-01-14 19:32:57 +00:00
parent 56fa9c95a1
commit cf62372cab

View File

@ -20,7 +20,8 @@ const distBaseUrl = process.env.npm_config_sharp_dist_base_url || process.env.SH
const fail = function (err) { const fail = function (err) {
npmLog.error('sharp', err.message); npmLog.error('sharp', err.message);
npmLog.error('sharp', 'Please see http://sharp.pixelplumbing.com/page/install'); npmLog.info('sharp', 'Attempting to build from source via node-gyp but this may fail due to the above error');
npmLog.info('sharp', 'Please see https://sharp.pixelplumbing.com/page/install for required dependencies');
process.exit(1); process.exit(1);
}; };