Open cdaringe opened 8 years ago
hello:
currently checkOthers does the following:
checkOthers
function checkOthers( name, callback ) { var process = spawn( name, [ '--version' ] ), re = browsers[ name ].re, data = ''; process.stdout.on( 'data', function( buf ) { data += buf; } );
however, the spawn command can fail with ENOTDIR. see https://github.com/node-inspector/node-inspector/issues/807 for more on that (and see this libs failure output). an update to the spawn call as follows solves my issue:
spawn
ENOTDIR
function checkOthers( name, callback ) { try { var process = spawn( name, [ '--version' ] ), re = browsers[ name ].re, data = ''; } catch(err) { return callback(err) }
thanks
This should be fixed in browser-launcher2 once #30 is merged
browser-launcher2
hello:
currently
checkOthers
does the following:however, the
spawn
command can fail withENOTDIR
. see https://github.com/node-inspector/node-inspector/issues/807 for more on that (and see this libs failure output). an update to the spawn call as follows solves my issue:thanks