Skip to content

Commit d612ed9

Browse files
author
Deyan Ginev
authored
Merge pull request #3352 from NativeScript/ginev/inspector-mem-buffer
fix(CLI): Increase inspector installer memory buffer.
2 parents d67764a + 425fab8 commit d612ed9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/npm-installation-manager.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export class NpmInstallationManager implements INpmInstallationManager {
7979
}
8080

8181
if (shouldInstall) {
82-
await this.$childProcess.exec(`npm install ${inspectorNpmPackageName}@${version} --prefix ${cachePath}`);
82+
await this.$childProcess.exec(`npm install ${inspectorNpmPackageName}@${version} --prefix ${cachePath}`, { maxBuffer: 250 * 1024 });
8383
}
8484

8585
this.$logger.out("Using inspector from cache.");

0 commit comments

Comments
 (0)