Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.
This repository was archived by the owner on May 30, 2024. It is now read-only.

ERR_INVALID_ARG_TYPE for event source in sdk  #249

@icarus-sullivan

Description

@icarus-sullivan

Is this a support request?
No

Describe the bug
In version 6.2.2 of the sdk, there was a dependency upgrade for the launchdarkly-eventsource from 1.4.1 -> 1.4.2. When running this in node 12 I get the following errors when the sdk initializes an event source:
{"error":{"code":"ERR_INVALID_ARG_TYPE"}, ...omitted }

To reproduce
Use the sdk version 6.2.2 and initialize the client without any options in a node12 environment.

Expected behavior
I would expect to see issues with user-agent and http calls being done by the eventsource lib

Logs
Cannot provide due to HIPAA

SDK version
6.2.2+

Language version, developer tools
Node v12.22.11

OS/platform
Mac

Additional context
Depending on how stable the launchdarkly-eventsource@1.4.4 is, it might just be a simple upgrade for that version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stalewaiting for feedbackIndicates LaunchDarkly is waiting for customer feedback before issue is closed due to staleness.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions