From 425fab829a9061e50211711e4b8fd87204937c34 Mon Sep 17 00:00:00 2001 From: Deyan Ginev Date: Tue, 6 Feb 2018 16:08:59 +0200 Subject: [PATCH] fix(CLI): Increase inspector installer memory buffer. --- lib/npm-installation-manager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/npm-installation-manager.ts b/lib/npm-installation-manager.ts index b9d1879391..82d1883258 100644 --- a/lib/npm-installation-manager.ts +++ b/lib/npm-installation-manager.ts @@ -79,7 +79,7 @@ export class NpmInstallationManager implements INpmInstallationManager { } if (shouldInstall) { - await this.$childProcess.exec(`npm install ${inspectorNpmPackageName}@${version} --prefix ${cachePath}`); + await this.$childProcess.exec(`npm install ${inspectorNpmPackageName}@${version} --prefix ${cachePath}`, { maxBuffer: 250 * 1024 }); } this.$logger.out("Using inspector from cache.");