Change emitError to error in .parse() options.