From cb84548623791f7ccacb6a52a29543ec5e2bd61a Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Mon, 25 Jul 2016 10:30:20 -0700 Subject: [PATCH] for now, pin `npm_config_target` version as it falls outside of the distribution package --- app/plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/plugins.js b/app/plugins.js index 4804b723..013c7bbd 100644 --- a/app/plugins.js +++ b/app/plugins.js @@ -201,7 +201,7 @@ function install (fn) { let registry = exports.getDecoratedConfig().npmRegistry; if (registry) env.NPM_CONFIG_REGISTRY = registry; env.npm_config_runtime = 'electron'; - env.npm_config_target = require('./package.json').devDependencies['electron-prebuilt']; + env.npm_config_target = '1.2.8'; env.npm_config_disturl = 'https://atom.io/download/atom-shell'; exec('npm prune && npm install --ignore-scripts --production', { cwd: path,