Skip to content
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

Error: Failed to launch the browser process! ./linuxch/chrome: error while loading shared libraries: libatk-bridge-2.0.so.0: cannot open shared object file: No such file or directory #3115

Closed
1 task done
agustianrizk85 opened this issue Jun 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@agustianrizk85
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Screenshot 2024-06-20 054027

Expected behavior

I have uploaded the project to the hosting or production environment. It ran smoothly without any issues or bugs on localhost. However, in the production or development environment, I'm required to use the libatk-bridge-2.0.so.0 extension for Puppeteer on Linux. I am using Windows 10. Is there a solution to this problem? I have been searching for a solution all day. Your help would be greatly appreciated."

Steps to Reproduce the Bug or Issue

i dont know

Relevant Code

const customAuthPath = path.join(__dirname, './session', session-${lokasi});
fs.ensureDirSync(customAuthPath);
const client = new Client({
authStrategy: new LocalAuth({
clientId,
dataPath:customAuthPath
}),
puppeteer: {
executablePath: './chrome-win/chrome.exe',
headless: true,
args: ['--no-sandbox', '--disable-setuid-sandbox']
}
});

Browser Type

Chromium

WhatsApp Account Type

Standard

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

windows 11
whatsapp-web.js": "github:pedroslopez/whatsapp-web.js#webpack-exodus
Node.js v20.12.2

Additional context

Node.js v20.12.2
Error creating client: Error: Failed to launch the browser process!
./linuxch/chrome: error while loading shared libraries: libatk-bridge-2.0.so.0: cannot open shared object file: No such file or directory

@agustianrizk85 agustianrizk85 added the bug Something isn't working label Jun 19, 2024
@alechkos
Copy link
Collaborator

#1621

Repository owner locked and limited conversation to collaborators Jun 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants