Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application Error: Failed to render - s.spec.info.version.startsWith is not a function #6465

Closed
1 task done
webdeveloperjon opened this issue Sep 8, 2023 · 1 comment · Fixed by #6493
Closed
1 task done
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer

Comments

@webdeveloperjon
Copy link

Expected Behavior

Being able to open Insomnia and access a project or the project selection screen

Actual Behavior

When opening Insomnia, I instantly get an Application Error "Failed to render . Please report the error to our Github Issues".

image

I notice the TypeError Text also occurs in the left hand panel as you can see on the screenshot below:

image

Full stack trace:

TypeError: s.spec.info.version.startsWith is not a function
    at children (file:https:///C:/Users/JonH/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/project-a967a15a.js:1:28833)
    at file:https:///C:/Users/JonH/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:357:9275
    at Object.useMemo (file:https:///C:/Users/JonH/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:116:25888)
    at h2.useMemo (file:https:///C:/Users/JonH/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:9:6238)
    at dl (file:https:///C:/Users/JonH/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:357:9182)
    at kMe (file:https:///C:/Users/JonH/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:357:9613)
    at MMe (file:https:///C:/Users/JonH/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:357:9989)
    at tu (file:https:///C:/Users/JonH/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:357:9737)
    at QMe (file:https:///C:/Users/JonH/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:357:24100)
    at jS (file:https:///C:/Users/JonH/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:116:19553)
    at w_ (file:https:///C:/Users/JonH/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:118:1575)
    at rj (file:https:///C:/Users/JonH/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:118:46077)
    at ej (file:https:///C:/Users/JonH/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:118:39819)
    at Kbe (file:https:///C:/Users/JonH/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:118:39745)
    at Kd (file:https:///C:/Users/JonH/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:118:39596)
    at Ax (file:https:///C:/Users/JonH/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:118:35959)
    at XB (file:https:///C:/Users/JonH/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:118:34906)
    at T (file:https:///C:/Users/JonH/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:103:1591)
    at Immediate.he [as _onImmediate] (file:https:///C:/Users/JonH/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:103:1957)
    at process.processImmediate (node:internal/timers:476:21)

Reproduction Steps

  1. I open the application

Is there an existing issue for this?

Additional Information

The application is now unusable because I can't access projects.
I've also tried going to preferences and exporting the data to JSON but after selecting the export file name it just closes the window and does nothing (I guess, because it wasn't able to load the projects in the first place).
I use Insomnia reasonably frequently, and this issue has only been occuring the last few days. Definitely with 2023.5.7 and 2023.5.8.

Insomnia Version

2023.5.8

What operating system are you using?

Windows

Operating System Version

Windows 11 Pro

Installation method

Download (then auto-updated)

Last Known Working Insomnia version

2023.5.6 (not 100% sure)

@webdeveloperjon webdeveloperjon added B-bug Bug: general classification S-unverified Status: Unverified by maintainer labels Sep 8, 2023
@cutcas
Copy link

cutcas commented Sep 11, 2023

I have the same problem

image

image

choas added a commit to choas/insomnia that referenced this issue Sep 29, 2023
pulling pull request from 8.0.0
Kong#6493
bernd pushed a commit to bernd/unetus that referenced this issue Sep 30, 2023
Fixes Kong#6465

(cherry picked from commit 368c34f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants