to avoid the error in console just assign a handler for the 'error' event, like this:
spawn('ffmpeg').on('error', () => {})