Skip to content

[Question] Unable to get it to build, version question #4

@ossnorry

Description

@ossnorry

Unable to get it building on various numerous from 18 to 24 of npm, can you clarify what specific version you use for the builds you publish on the release section?

The most common error I see on newer versions of npm is:

electron/vsMlrtManager.ts:105:36 - error TS2345: Argument of type 'string | number | true | string[] | AxiosHeaders' is not assignable to parameter of type 'string'.
  Type 'number' is not assignable to type 'string'.

105       const totalLength = parseInt(response.headers['content-length'] || '0', 10);
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Found 1 error in electron/vsMlrtManager.ts:105

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