diff --git a/lib/download/npm.js b/lib/download/npm.js index 42694521..b7100cdc 100644 --- a/lib/download/npm.js +++ b/lib/download/npm.js @@ -213,6 +213,8 @@ function* download(pkg, options) { if (/prebuild --install/.test(pkg.scripts.install) || /prebuild --download/.test(pkg.scripts.install) || /node-pre-gyp install/.test(pkg.scripts.install) || + // utf-8-validate + /prebuild-install || node-gyp rebuild/.test(pkg.scripts.install) || pkg.name === 'nodegit' || pkg.name === 'fsevents') { const newBinary = pkg.binary || {};