From 193c04c872473cc0d65e82a63941a2fa2676ecb8 Mon Sep 17 00:00:00 2001 From: Marti Martz Date: Wed, 18 Apr 2018 17:19:49 -0600 Subject: [PATCH] Double the output buffer for this child process (#1349) * Fixes failure NOTE: * Current *node* defaults to 200 * 1024 Auto-merge --- controllers/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/admin.js b/controllers/admin.js index 6bca36e1c..596780093 100644 --- a/controllers/admin.js +++ b/controllers/admin.js @@ -465,7 +465,7 @@ exports.adminNpmListView = function (aReq, aRes, aNext) { return; } - exec('npm ls --json', function (aErr, aStdout, aStderr) { + exec('npm ls --json', { maxBuffer: 400 * 1024 }, function (aErr, aStdout, aStderr) { var stdout = null; if (aErr) {