Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Uncaught TypeError exception after kubectl kui if kui window is already open #9351

@sergray

Description

@sergray

Describe the bug

Uncaught TypeError exception after kubectl kui if kui window is already open

Steps to reproduce the behavior

  1. Install kui with brew install kui
  2. Open terminal and run kubectl kui
  3. kui window opens
  4. Run kubectl kui in the terminal again
  5. See error
    A JavaScript error occurred in the main process
    Uncaught Exception:
    TypeError: Cannot read properties of null (reading 'env')
    at App.<anonymous> (/Applications/Kui.app/Contents/Resources/app/dist/headless/7255.kui.min.js:1:15573)
    at App.emit (node:events:513:28)
    

Expected behavior
Focus goes to the open kui window and result of the command is shown there

Screenshots
Window with the error
image

Code snippets
Not applicable

System

  • Kui version: v13.1.3
  • Operating system: macOS Ventura 13.3.1 (22E261)

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