diff --git a/generators/generator-base.js b/generators/generator-base.js index 1bb1d62d716a..469e63ee0ce6 100644 --- a/generators/generator-base.js +++ b/generators/generator-base.js @@ -1913,7 +1913,7 @@ module.exports = class extends PrivateBase { } buildCmd += ` -P${profile}`; const child = {}; - child.stdout = exec(buildCmd, { maxBuffer: 1024 * 500 }, cb).stdout; + child.stdout = exec(buildCmd, { maxBuffer: 1024 * 10000 }, cb).stdout; child.buildCmd = buildCmd; return child; diff --git a/generators/upgrade/index.js b/generators/upgrade/index.js index a0df5b468722..0bfdd8c0de01 100644 --- a/generators/upgrade/index.js +++ b/generators/upgrade/index.js @@ -97,7 +97,7 @@ module.exports = UpgradeGenerator.extend({ callback(); }); }; - this.gitExec(['add', '-A'], { maxBuffer: 1024 * 500 }, (code, msg, err) => { + this.gitExec(['add', '-A'], { maxBuffer: 1024 * 10000 }, (code, msg, err) => { if (code !== 0) this.error(`Unable to add resources in git:\n${err}`); commit(); });