Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Application error when starting with OpenAPI Spec documents #51

Closed
1 task done
AtjonTV opened this issue Oct 13, 2023 · 1 comment
Closed
1 task done

Application error when starting with OpenAPI Spec documents #51

AtjonTV opened this issue Oct 13, 2023 · 1 comment

Comments

@AtjonTV
Copy link

AtjonTV commented Oct 13, 2023

Expected Behavior

OpenAPI Spec documents are loaded correctly, and the Application is usable.

Actual Behavior

The following error occurres, and the Application is unusable.

TypeError: t.spec.info.version.startsWith is not a function
    at children (file:///tmp/.mount_Insomn2Jv1B2/resources/app.asar/project-31d5e5ef.js:10:27884)
    at file:///tmp/.mount_Insomn2Jv1B2/resources/app.asar/index-62719d76.js:197:9275
    at Object.useMemo (file:///tmp/.mount_Insomn2Jv1B2/resources/app.asar/index-62719d76.js:38:25888)
    at w2.useMemo (file:///tmp/.mount_Insomn2Jv1B2/resources/app.asar/index-62719d76.js:9:6238)
    at Ns (file:///tmp/.mount_Insomn2Jv1B2/resources/app.asar/index-62719d76.js:197:9182)
    at GCe (file:///tmp/.mount_Insomn2Jv1B2/resources/app.asar/index-62719d76.js:197:9613)
    at ZCe (file:///tmp/.mount_Insomn2Jv1B2/resources/app.asar/index-62719d76.js:197:9989)
    at i7 (file:///tmp/.mount_Insomn2Jv1B2/resources/app.asar/index-62719d76.js:197:9737)
    at Swe (file:///tmp/.mount_Insomn2Jv1B2/resources/app.asar/index-62719d76.js:197:24092)
    at RC (file:///tmp/.mount_Insomn2Jv1B2/resources/app.asar/index-62719d76.js:38:19553)

Reproduction Steps

No response

Is there an existing issue for this?

Additional Information

This issue has already been fixed in Insomnia 8.0 with this commit: Kong/insomnia@368c34f

The simplest solution would be to port that commit to Insomnium.

Insomnium Version

0.2.1-b

What operating system are you using?

Other Linux

Operating System Version

Arch Linux (Kernel: 6.5.6)

Installation method

AppImage

Last Known Working Insomnium version

No response

@archywillhe
Copy link
Member

archywillhe commented Oct 13, 2023

aw thanks for the pointer I'll merge the commit to Insomnium in the release;

(to anyone: feel free to do a pr for these fixes; thx!)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants