Skip to content

TypeError: Cannot read properties of undefined (reading 'readVint') #54

Open
@juan-foegen-advantive

Description

@juan-foegen-advantive

Trying to upgrade from 2.x to 3.x in my Angular project and receiving the error message:
TypeError: Cannot read properties of undefined (reading 'readVint')

I didn't see any docs about changes from 2.x to 3.x, so I just updated the library and thought I would give it try. I think it is complaining about tools. I am using - const refinedMetadataBuf = ebml.tools.makeMetadataSeekable(..) or just tools.makeMetadataSeekable with import * as ebml from 'ts-ebml' and import { Decoder, tools, Reader} from 'ts-ebml' respectively. I also tried to alias the include of the tools in case of conflict.

Is there another dependent library I need to include with the 3.x Version?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions