Skip to content

Problem with getting a big size json file - AxiosError: maxContentLength size of -1 exceeded #406

@monopia

Description

@monopia

I got error while trying my url json api file.

error while getting swagger by URL http://xxx.xxx.com/latest.json [AxiosError: maxContentLength size of -1 exceeded]

this json file length is 509477.

for another try,
i saved this json file first then run with -p ./latest.json turned out this error

TypeError: host.fileExists is not a function
    at Object.fileExists (/Users/user/xxxx/node_modules/typescript/lib/typescript.js:167586:63)

trying with both node version 14.18.2 and 16.13.1 are the same.
typescript: 4.8.2

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