From 709fc03933f494fb010d1687fe86795d8f3243e4 Mon Sep 17 00:00:00 2001 From: Thomas Schoffelen Date: Fri, 2 Jun 2017 15:52:38 +0200 Subject: [PATCH] Fixed a bug with installing plugins (#1896) Where NPM@5 whould rely on package-lock.json and not actually install new entries in package.json. --- app/plugins.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/plugins.js b/app/plugins.js index c855589b..91781700 100644 --- a/app/plugins.js +++ b/app/plugins.js @@ -237,8 +237,8 @@ function install(fn) { /* eslint-enable camelcase */ // Shell-specific installation commands const installCommands = { - fish: 'npm prune; and npm install --production', - posix: 'npm prune && npm install --production' + fish: 'npm prune; and npm install --production --no-shrinkwrap', + posix: 'npm prune && npm install --production --no-shrinkwrap' }; // determine the shell we're running in const whichShell = (typeof cfgShell === 'string' && cfgShell.match(/fish/)) ? 'fish' : 'posix';