You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to use the aws-azure-login command, the following error is encountered:
Error: Failed to launch the browser process!
/snap/aws-azure-login/7/node_modules/puppeteer/.local-chromium/linux-884014/chrome-linux/chrome: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
The error indicates that the libnss3.so shared library is missing, which is required by Chromium used by Puppeteer.
Steps to reproduce -
Install aws-azure-login using the following command:
sudo apt-get install aws-azure-login
Run the aws-azure-login command:
aws-azure-login
Observe the error message mentioned below.
Error: Failed to launch the browser process!
/snap/aws-azure-login/7/node_modules/puppeteer/.local-chromium/linux-884014/chrome-linux/chrome: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
Expected Behavior
The aws-azure-login command should launch the browser process successfully without any shared library errors.
Environment Information
Operating System: Ubuntu 22.04 LTS (jammy)
AWS Azure Login Version
Troubleshooting Steps Attempted
Checked the installation of the aws-azure-login package using the following command:
dpkg -s aws-azure-login | grep Version
Result: dpkg-query: package 'aws-azure-login' is not installed and no information is available
Tried installing the package using apt-get:
sudo apt-get install aws-azure-login
Result: E: Unable to locate package aws-azure-login
Checked the existence of the aws-azure-login package files using the following command:
ls -l /var/lib/dpkg/info/aws-azure-login*
Result: ls: cannot access '/var/lib/dpkg/info/aws-azure-login*': No such file or directory
When attempting to use the
aws-azure-login
command, the following error is encountered:The error indicates that the
libnss3.so
shared library is missing, which is required by Chromium used by Puppeteer.Steps to reproduce -
aws-azure-login
using the following command:aws-azure-login
command:Error: Failed to launch the browser process!
/snap/aws-azure-login/7/node_modules/puppeteer/.local-chromium/linux-884014/chrome-linux/chrome: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
Expected Behavior
The
aws-azure-login
command should launch the browser process successfully without any shared library errors.Environment Information
Troubleshooting Steps Attempted
Checked the installation of the
aws-azure-login
package using the following command:Result:
dpkg-query: package 'aws-azure-login' is not installed and no information is available
Tried installing the package using
apt-get
:Result:
E: Unable to locate package aws-azure-login
Checked the existence of the
aws-azure-login
package files using the following command:Result:
ls: cannot access '/var/lib/dpkg/info/aws-azure-login*': No such file or directory
Attempted to locate the
libnss3.so
library:Result: /usr/lib/x86_64-linux-gnu/libnss3.so
/usr/lib/thunderbird/libnss3.so
find: ‘/run/user/1001/doc’: Permission denied
find: ‘/run/user/1001/gvfs’: Permission denied
/snap/gnome-42-2204/105/usr/lib/x86_64-linux-gnu/libnss3.so
/snap/gnome-42-2204/111/usr/lib/x86_64-linux-gnu/libnss3.so
/snap/cups/872/usr/lib/x86_64-linux-gnu/libnss3.so
/snap/cups/950/usr/lib/x86_64-linux-gnu/libnss3.so
/snap/slack/71/usr/lib/x86_64-linux-gnu/libnss3.so
/snap/slack/79/usr/lib/x86_64-linux-gnu/libnss3.so
/snap/firefox/2710/usr/lib/firefox/libnss3.so
/snap/firefox/2760/usr/lib/firefox/libnss3.so
/snap/chromium/2497/usr/lib/x86_64-linux-gnu/libnss3.so
/snap/chromium/2477/usr/lib/x86_64-linux-gnu/libnss3.so
/snap/snap-store/959/usr/lib/x86_64-linux-gnu/libnss3.so
/snap/snap-store/638/usr/lib/x86_64-linux-gnu/libnss3.so
/snap/postman/207/usr/lib/x86_64-linux-gnu/libnss3.so
/snap/postman/209/usr/lib/x86_64-linux-gnu/libnss3.so
Set the
LD_LIBRARY_PATH
environment variable to include the library path:The text was updated successfully, but these errors were encountered: