Skip to content

Commit 6205557

Browse files
increase maxBuffer for stdio of node-gyp process
1 parent c602ff8 commit 6205557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ process.env['OPENCV4NODEJS_LIBRARIES'] = libs.join('\n')
8080
const flags = process.env.BINDINGS_DEBUG ? '--jobs max --debug' : '--jobs max'
8181
const nodegypCmd = 'node-gyp rebuild ' + flags
8282
log.info('install', `spawning node gyp process: ${nodegypCmd}`)
83-
const child = child_process.exec(nodegypCmd, {}, function(err, stdout, stderr) {
83+
const child = child_process.exec(nodegypCmd, { maxBuffer: Infinity }, function(err, stdout, stderr) {
8484
const _err = err || stderr
8585
if (_err) log.error(_err)
8686
})

0 commit comments

Comments
 (0)