Skip to content
New issue

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

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

Already on GitHub? # to your account

Terminal, A javascript error occurred in the main process #156

Closed
san360 opened this issue Mar 26, 2020 · 1 comment · Fixed by #162
Closed

Terminal, A javascript error occurred in the main process #156

san360 opened this issue Mar 26, 2020 · 1 comment · Fixed by #162

Comments

@san360
Copy link

san360 commented Mar 26, 2020

Describe the bug
Uncaught Exception:
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be one of type string, Buffer, or URL.

To Reproduce
Steps to reproduce the behavior:

  1. Add cluster with kubeconfig file manually
  2. Click on Terminal
  3. See error

Expected behavior
Terminal should have started

Screenshots
image

Environment (please complete the following information):

  • Lens Version: 3.01
  • OS: Mac
  • Installation method (e.g. snap or AppImage in Linux): Lens.app

Logs:
When you run the application executable from command line you will see some logging output. Please paste them here:

Your logs go here...

Kubeconfig:
Quite often the problems are caused by malformed kubeconfig which the application tries to load. Please share your kubeconfig, remember to remove any secret and sensitive information.

apiVersion: v1
kind: Config
current-context: kube1-dev
contexts:
- name: kube1-dev
  context:
    cluster: kube1-dev
    user: kube1-dev-sxxxxx
users:
- name: kube1-dev-sxxxxx
  user:
    token: xxxxxxxx
clusters:
- name: kube1-dev
  cluster:
    certificate-authority-data: xxxxxxx
    server: https://kube1-svc.dev.xxxx.xxxx..xxxxx

Additional context
Add any other context about the problem here.

@fschuh
Copy link

fschuh commented Mar 26, 2020

I'm having the same issue, version 3.01 on Windows 10.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants