My connection is lost when interacting with my dashboard

Hello friends good evening I have a problem with my dashboard, the problem is as follows.

As soon as I press any widget, button or interface the connection is lost, check the logs and this is what appears.

The problem occurs in all browsers, on my pc and cell phone. It should be noted that before I had no problems at all.

What are the measures I have already taken:
*Update the node-network to the last one.
*Upgrade all nodes
*Delete all nodes and configurations.
// I did all this but still my Dashboard is not working.

Information about my system:

Hardware where is hosted Node red.
Rasberry Pi 3B+
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster

Sofware:
Node-RED version: v2.2.2
Version: v16.15.0
npm: 8.5.5

Update the node-network to the last one.

Which node is this ?

Sorry my bad, I would like to say “Update Node-red”

So you have installed a node that has an error in it by the looks of it.

You need to find out what node(s) rely on the ws module.

Thanks I was able to solve the problem by reinstalling the "node-red-dashboard".