Skip to content

Bug on building package with @launchdarkly/node-server-sdk as dependency #347

@enniogonzalez

Description

@enniogonzalez

Hey guys,

I have a library that i built with the library launchdarkly-node-server-sdk 6.2.0, and i'm trying to migrate to @launchdarkly/node-server-sdk 9.0.5, but i'm facing an issue when packing my library, the compiler throws this error

image

Logs

> tsc

node_modules/@launchdarkly/js-sdk-common/dist/internal/stream/index.d.ts:2:15 - error TS1005: ',' expected.

2 import { type StreamingErrorHandler } from './types';
                ~~~~~~~~~~~~~~~~~~~~~

node_modules/@launchdarkly/js-sdk-common/dist/internal/stream/index.d.ts:3:35 - error TS1005: ',' expected.

3 export { StreamingProcessor, type StreamingErrorHandler };
                                    ~~~~~~~~~~~~~~~~~~~~~



Found 2 errors.

SDK version
9.0.5

OS/platform
Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpackage: sdk/server-nodeLabel for issues affecting the sdk/server-node package.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions