pgadmin4 consists of two parts: a python server and a desktop browser window that's called the Desktop Runtime Standalone Application. This desktop browser is built on NW.js (formerly node-webkit). Apparently, as part of the MacOS integration, NW.js drops a widget in the Notifications panel of the System preferences. You can customize its behavior there.
More info here:
https://www.pgadmin.org/docs/pgadmin4/6.1/desktop_deployment.html
https://nwjs.io/
Answer from sendai77 on Stack Exchangehttps://i.stack.imgur.com/9HRNO.png
I just finished installing pgadmin4 on my mac from this url https://www.postgresql.org/ftp/pgadmin/pgadmin4/v5.6/macos/
and when I started the program I got a notification from nwjs, which looks weird.
This error typically occurs after updates of either PostgreSQL or PgAdmin. What worked for me was deleting the folder C:\Users\username\AppData\Roaming\pgadmin. Then re-install pgAdmin and it will work.
Sometimes, it happens because the pgAdmin 4 port number is used by another application or service on your PC. You can see a configure button below the error message.
Just click the configure button, and it will open a window that shows the option to change your port number.
Enter a random port number and hit save. If the number is already in use, it will show an error. Otherwise, it will save.
Finally, restart pgAdmin 4. It worked for me.