Cannot connect to a cluster on macOS

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

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

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