When attempting to run Cypress in Ubuntu:
Problem
/home/wilco/.cache/Cypress/4.12.1/Cypress/Cypress: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
Solution
sudo apt install libgconf-2-4 libatk1.0-0 libatk-bridge2.0-0 libgdk-pixbuf2.0-0 libgtk-3-0 libgbm-dev libnss3-dev libxss-dev
What you're installing
libgconf-2-4
: GNOME configuration database system (shared libraries).libatk1.0-0
: ATK accessibility toolkit.libatk-bridge2.0-0
: AT-SPI 2 toolkit bridge (shared library).libgdk-pixbuf2.0-0
: GDK Pixbuf library.libgtk-3-0
: GTK+ graphical user interface library.libgbm-dev
: Generic buffer management API (development files).libnss3-dev
: Development files for the Network Security Service libraries.libxss-dev
: X11 Screen Saver extension library (development headers)