# Cannot connect to a cluster on macOS

**URL:** https://forums.k8slens.dev/t/cannot-connect-to-a-cluster-on-macos/155
**Category:** FAQ
**Tags:** macos, lens-desktop, cluster
**Created:** [February 21, 2023, 5:36am UTC](https://forums.k8slens.dev/t/cannot-connect-to-a-cluster-on-macos/155 "2023-02-21T05:36:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dzhigzhitzhapov](https://forums.k8slens.dev/user_avatar/forums.k8slens.dev/dzhigzhitzhapov/32/189_2.png) [@dzhigzhitzhapov](https://forums.k8slens.dev/u/dzhigzhitzhapov)
#### Post date: [February 21, 2023, 5:36am UTC](https://forums.k8slens.dev/t/cannot-connect-to-a-cluster-on-macos/155/1 "2023-02-21T05:36:21Z")

</div>

If on your macOS device, Lens Desktop cannot connect to a cluster:

1. Delete the `node_modules` folder
2. Restart the application.

---

<div class="post-metadata">

### Author: ![jmakori](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/j/eb9ed0/32.png) [@jmakori](https://forums.k8slens.dev/u/jmakori)
#### Post date: [February 21, 2023, 2:46pm UTC](https://forums.k8slens.dev/t/cannot-connect-to-a-cluster-on-macos/155/2 "2023-02-21T14:46:32Z")

</div>

Where exactly is this directory found, also having the same issue
