Skip to content

Can't import the named export 'FilesetResolver' from non EcmaScript module (only default export is available) #29

@Mihai-github

Description

@Mihai-github

Hey, I'm trying to do some testing with the latest version of Livekit Client, 1.15.4, coming from version 1.10.0, and by upgrading the version I'm currently running of @livekit/track-processors, ^0.1.4, it stopped working throwing this error:

Argument of type 'ProcessorPipeline' is not assignable to parameter of type 'TrackProcessor<Kind, ProcessorOptions<Kind>>'

when doing:

await camTrack.setProcessor(VirtualBackground(url));

or

camTrack.setProcessor(BackgroundBlur(10))

So I've also updated to the latest version of the @livekit/track-processors package and now I'm having this issue:
./node_modules/@livekit/track-processors/dist/index.mjs
Can't import the named export 'FilesetResolver' from non EcmaScript module (only default export is available)

Does anyone know what's the issue, it's maybe I assume because I'm running an older version of react and react-scripts or I have to do some webpack configuration for .mjs files?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions