Skip to content

Commit

Permalink
increase maxBuffer for stdio of node-gyp process
Browse files Browse the repository at this point in the history
  • Loading branch information
justadudewhohacks committed Nov 18, 2019
1 parent c602ff8 commit 6205557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ process.env['OPENCV4NODEJS_LIBRARIES'] = libs.join('\n')
const flags = process.env.BINDINGS_DEBUG ? '--jobs max --debug' : '--jobs max'
const nodegypCmd = 'node-gyp rebuild ' + flags
log.info('install', `spawning node gyp process: ${nodegypCmd}`)
const child = child_process.exec(nodegypCmd, {}, function(err, stdout, stderr) {
const child = child_process.exec(nodegypCmd, { maxBuffer: Infinity }, function(err, stdout, stderr) {
const _err = err || stderr
if (_err) log.error(_err)
})
Expand Down

0 comments on commit 6205557

Please sign in to comment.