This article assumes your Shinobi is installed in the default location /home/Shinobi

You may be trying to setup a plugin with Shinobi and getting an error similar to what is seen below.

2|shinobi- | 2021-11-20T19:22:42.911Z Yolo Plugin Connected to Shinobi..
2|shinobi- | 2021-11-20T19:22:42.912Z Yolo Plugin Disconnected..
2|shinobi- | 2021-11-20T19:22:45.914Z Yolo Attempting Reconnect..
2|shinobi- | 2021-11-20T19:22:45.917Z Yolo Plugin Error. Attempting Reconnect..
2|shinobi- | 2021-11-20T19:22:45.918Z Yolo TransportError
2|shinobi- | 2021-11-20T19:22:45.918Z Yolo Max Failed Retries Reached!
2|shinobi- | 2021-11-20T19:22:48.313Z Yolo Plugin Connected to Shinobi..

The simple solution is to navigate to the plugin's folder. In the above example you can see it is the Yolo plugin failing. so we will navigate to the /home/Shinobi/plugins/yolo.

cd /home/Shinobi/plugins/yolo

Then run the following

npm install [email protected]

In the future will not be used for communication and instead plain Websocket will and it should avoid this problem.