-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing Dependencies preventing playwright launch #5893
Comments
Is there a single package that I can install to cover all these? |
Tried Still some are missing
|
|
@vigneshtdev are you using the latest version of Playwright? It should report which dependencies you need to install with a better output than what you see there. You should probably also list your system and paste here, using the command You can see more here also: |
I have the same problem as the original poster.
I have no problems running my code locally on a Windows machine but get the error above on the server. I tried to install them with this command but the error interestingly stayed the same What confuses me a little is that the output above tells me the VPS is running as a container. I am not running it in a container. It is most likely virtualized by my hosting provider but not specifically in a container. It should be a normal Debian installation. EDIT: @thernstig I now ran all the install commands that were listed in the Docker file and now it works. Thank you. |
@vigneshtdev we currently don't support Debian - please feel free to upvote #3167 to have it covered. |
Would you be able to share the command you used in DOCKERFILE to install these dependencies? For me, it still says not able to locate the package - 'Unable to locate package libatk-bridge-2' |
ERROR Invoke Error {"errorType":"Error","errorMessage":"browserType.launch: Host system is missing dependencies!\n\n Missing libraries are:\n libgtk-3.so.0\n libgdk-3.so.0\n libX11.so.6\n libX11-xcb.so.1\n libxcb.so.1\n libXcomposite.so.1\n libXcursor.so.1\n libXdamage.so.1\n libXext.so.6\n libXfixes.so.3\n libXi.so.6\n libXrender.so.1\n libfreetype.so.6\n libfontconfig.so.1\n libdbus-glib-1.so.2\n libdbus-1.so.3\n libpangocairo-1.0.so.0\n libpango-1.0.so.0\n libatk-1.0.so.0\n libcairo-gobject.so.2\n libcairo.so.2\n libgdk_pixbuf-2.0.so.0\n libxcb-shm.so.0\n libpangoft2-1.0.so.0\n libXt.so.6\n","stack":["browserType.launch: Host system is missing dependencies!",""," Missing libraries are:"," libgtk-3.so.0"," libgdk-3.so.0"," libX11.so.6"," libX11-xcb.so.1"," libxcb.so.1"," libXcomposite.so.1"," libXcursor.so.1"," libXdamage.so.1"," libXext.so.6"," libXfixes.so.3"," libXi.so.6"," libXrender.so.1"," libfreetype.so.6"," libfontconfig.so.1"," libdbus-glib-1.so.2"," libdbus-1.so.3"," libpangocairo-1.0.so.0"," libpango-1.0.so.0"," libatk-1.0.so.0"," libcairo-gobject.so.2"," libcairo.so.2"," libgdk_pixbuf-2.0.so.0"," libxcb-shm.so.0"," libpangoft2-1.0.so.0"," libXt.so.6","Error"," at Object.captureStackTrace (/var/task/node_modules/playwright-firefox/lib/utils/stackTrace.js:48:19)"," at Connection.sendMessageToServer (/var/task/node_modules/playwright-firefox/lib/client/connection.js:69:48)"," at Proxy.<anonymous> (/var/task/node_modules/playwright-firefox/lib/client/channelOwner.js:64:61)"," at /var/task/node_modules/playwright-firefox/lib/client/browserType.js:64:67"," at BrowserType._wrapApiCall (/var/task/node_modules/playwright-firefox/lib/client/channelOwner.js:77:34)"," at BrowserType.launch (/var/task/node_modules/playwright-firefox/lib/client/browserType.js:55:21)"," at run (/var/task/app.js:6:35)"," at Runtime.exports.handler (/var/task/app.js:18:11)"," at Runtime.handleOnce (/var/runtime/Runtime.js:66:25)"]}
The text was updated successfully, but these errors were encountered: