Skip to content

[BUG]: Build failure TS2353 in NodeLink v3.8.0 potoken module #211

Description

@motaz-darawsha

NodeLink version

v3.8.0

Description

Build process fails during TypeScript compilation in NodeLink v3.8.0.

Error location:

src/sources/youtube/sabr/potoken.ts:519

Error message:

TS2353: Object literal may only specify known properties, and 'userAgent' does not exist in type 'ConstructorOptions'.

Build stops during compilation and does not produce output.

Client

NodeLink build system using TypeScript compiler (tsc)

Steps to reproduce

  1. Install NodeLink v3.8.0

  2. Run npm install

  3. Run tsc --incremental false

  4. Build fails during compilation

Example code

Compilation fails in potoken.ts at constructor configuration object where userAgent is included inside ConstructorOptions.

Image

Confirmations

  • My environment meets the minimum requirements.
  • I have verified that this is not a duplicate issue.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingconfirmedThis issue or pull request is confirmed to be done.

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions