From bd5e802e1fb76d36955aae9359f829b3b7f8ce4e Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Sat, 23 Jul 2016 16:26:16 -0700 Subject: [PATCH] npm: don't run `postinstall` and friends (friends?) --- plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins.js b/plugins.js index ff749813..38a85e63 100644 --- a/plugins.js +++ b/plugins.js @@ -196,7 +196,7 @@ function install (fn) { env.npm_config_runtime = 'electron'; env.npm_config_target = require('./package.json').devDependencies['electron-prebuilt']; env.npm_config_disturl = 'https://atom.io/download/atom-shell'; - exec('npm prune && npm install --production', { + exec('npm prune && npm install --ignore-scripts --production', { cwd: path, env: env }, (err, stdout, stderr) => {