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
Labels
bug
Something isn't working
Is there an existing issue for this?
Describe the bug
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
The text was updated successfully, but these errors were encountered: