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
I have checked and am using the latest version of the library.
What type of session are you experiencing this issue on?
Multi-device and I have set multiDevice to true in my config OR am using the --multi-device flag
What type of host account are you experiencing this issue on?
Business account
Mode
EASY API/CLI
Current Behavior
i dont know what happened... but last days i am trying all to start my WA and does not work... i updated all packages...and still dont working...
Have some idea?
✓ Launch inject: 799ms
✓ Authenticated
TypeError: Cannot read properties of undefined (reading 'default')
at csWLz (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:39:2 0, :0:4993)
at SeYsc (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:39:2 0, :0:22430)
at evaluate (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:3 9:20, :0:23064)
at evaluate (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:3 9:20, :0:22753)
at fillModuleArray (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_pat ch.js:39:20, :0:21939)
at pxPhN (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:39:2 0, :0:6482)
at e (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:39:20, < anonymous>:0:24302)
at evaluate (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:3 9:20, :0:32751)
at #evaluate (/root/lbot-whatsapp/lbot-whatsapp/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:199:59)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ExecutionContext.evaluate (/root/lbot-whatsapp/lbot-whatsapp/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Execu tionContext.js:126:16)
at async IsolatedWorld.evaluate (/root/lbot-whatsapp/lbot-whatsapp/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Isolated World.js:131:16)
at async CdpFrame.evaluate (/root/lbot-whatsapp/lbot-whatsapp/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Frame.js:363: 20)
at async CdpPage.evaluate (/root/lbot-whatsapp/lbot-whatsapp/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:751:20 )
at a (https://web.whatsapp.com/runtime.c1ada999948990ed9016.js:0:16341)
at t (https://web.whatsapp.com/runtime.c1ada999948990ed9016.js:0:214)
at 15283 (https://web.whatsapp.com/main.6da691ac74c858cbe681.js:4:2088345)
at t (https://web.whatsapp.com/runtime.c1ada999948990ed9016.js:0:214)
at 740068 (https://web.whatsapp.com/main.6da691ac74c858cbe681.js:5:1122099)
at Ce (https://web.whatsapp.com/main.6da691ac74c858cbe681.js:4:1400297)
Error while terminating browser PID. You can just ignore this, as the process has most likely been terminated successfully alread y: kill ESRCH
[OPEN-WA] Error [TypeError]: Cannot read properties of undefined (reading 'default')
at csWLz (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:39:2 0, :0:4993)
at SeYsc (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:39:2 0, :0:22430)
at evaluate (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:3 9:20, :0:23064)
at evaluate (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:3 9:20, :0:22753)
at fillModuleArray (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_pat ch.js:39:20, :0:21939)
at pxPhN (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:39:2 0, :0:6482)
at e (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:39:20, < anonymous>:0:24302)
at evaluate (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:3 9:20, :0:32751)
at #evaluate (/root/lbot-whatsapp/lbot-whatsapp/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:199:59)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ExecutionContext.evaluate (/root/lbot-whatsapp/lbot-whatsapp/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Execu tionContext.js:126:16)
at async IsolatedWorld.evaluate (/root/lbot-whatsapp/lbot-whatsapp/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Isolated World.js:131:16)
at async CdpFrame.evaluate (/root/lbot-whatsapp/lbot-whatsapp/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Frame.js:363: 20)
at async CdpPage.evaluate (/root/lbot-whatsapp/lbot-whatsapp/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:751:20 )
at a (https://web.whatsapp.com/runtime.c1ada999948990ed9016.js:0:16341)
at t (https://web.whatsapp.com/runtime.c1ada999948990ed9016.js:0:214)
at 15283 (https://web.whatsapp.com/main.6da691ac74c858cbe681.js:4:2088345)
at t (https://web.whatsapp.com/runtime.c1ada999948990ed9016.js:0:214)
at 740068 (https://web.whatsapp.com/main.6da691ac74c858cbe681.js:5:1122099)
at Ce (https://web.whatsapp.com/main.6da691ac74c858cbe681.js:4:1400297)
Expected Behavior
,
Steps To Reproduce
npm start
authenticated
problems as logs
create() code OR full CLI command + CONFIG
npx @open-wa/wa-automate --debug --verbose
info: Set up logging for console {"timestamp":"2023-12-14T18:37:09.049Z"}
info: Config undefined is directory: false {"timestamp":"2023-12-14T18:37:09.058Z"}
info: Checking exists: cli.config.json {"timestamp":"2023-12-14T18:37:09.061Z"}
info: Checking exists: cli.config.json {"timestamp":"2023-12-14T18:37:09.064Z"}
info: Checking exists: cli.config.js {"timestamp":"2023-12-14T18:37:09.067Z"}
info: Using config file: ??? {"timestamp":"2023-12-14T18:37:09.067Z"}
- session_STARTUP
info: {"data":"","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:09.073Z"}
- DEBUG - PORT: 8002
info: DEBUG - PORT: 8002 {"data":"DEBUG - PORT: 8002","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:09.075Z"}
- DEBUG - flags: {"sessionId":"session","debug":true,"verbose":true,"noApi":false,"forceUpdateCwWebhook":false,"port":8002,"host":"localhost","ef":["qr","STARTUP","MD_DETECT","qrUrl"],"allowSessionDataWh":false,"generateApiDocs":true,"sessionDataOnly":false,"skipSavePostmanCollection":false,"headful":false,"preAuthDocs":false,"stats":false,"noKillOnLogout":false,"cors":false,"socket":false,"emitUnread":false,"allowIps":[],"popup":false,"logging":[{"type":"console","done":true}],"disableSpins":true}
info: DEBUG - flags: {"sessionId":"session","debug":true,"verbose":true,"noApi":false,"forceUpdateCwWebhook":false,"port":8002,"host":"localhost","ef":["qr","STARTUP","MD_DETECT","qrUrl"],"allowSessionData...[TRUNCATED]... {"data":"DEBUG - flags: {\"sessionId\":\"session\",\"debug\":true,\"verbose\":true,\"noApi\":false,\"forceUpdateCwWebhook\":false,\"port\":8002,\"host\":\"localhost\",\"ef\":[\"qr\",\"STARTUP\",\"MD_DETECT\",\"qrUrl\"],\"allowSessionData...[TRUNCATED]...","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:09.076Z"}
- DEBUG - env vars: {}
info: DEBUG - env vars: {} {"data":"DEBUG - env vars: {}","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:09.079Z"}
- Launching EASY API
info: Launching EASY API {"data":"Launching EASY API","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:09.080Z"}
info: config: {"PORT":8002,"cliConfig":{"allowIps":[],"allowSessionDataWh":"[REDACTED]","cors":false,"debug":true,"disableSpins":true,"ef":["qr","STARTUP","MD_DETECT","qrUrl"],"emitUnread":false,"forceUpdateCwWebhook":false,"generateApiDocs":true,"headful":false,"host":"localhost","logging":[{"done":true,"type":"console"}],"noApi":false,"noKillOnLogout":false,"popup":false,"port":8002,"preAuthDocs":false,"sessionDataOnly":"[REDACTED]","sessionId":"session","skipSavePostmanCollection":false,"socket":false,"stats":false,"verbose":true},"createConfig":{"allowIps":[],"allowSessionDataWh":"[REDACTED]","cors":false,"debug":true,"disableSpins":true,"ef":["qr","STARTUP","MD_DETECT","qrUrl"],"emitUnread":false,"forceUpdateCwWebhook":false,"generateApiDocs":true,"headful":false,"host":"localhost","logging":[{"done":true,"type":"console"}],"noApi":false,"noKillOnLogout":false,"popup":false,"port":8002,"preAuthDocs":false,"sessionDataOnly":"[REDACTED]","sessionId":"session","skipSavePostmanCollection":false,"socket":false,"stats":false,"verbose":true},"timestamp":"2023-12-14T18:37:09.083Z"}
- Selected port is free
info: Selected port is free {"data":"Selected port is free","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:09.128Z"}
- Generating Swagger Spec
info: Generating Swagger Spec {"data":"Generating Swagger Spec","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:09.135Z"}
- Postman collection generated: open-wa-session.postman_collection.json
info: Postman collection generated: open-wa-session.postman_collection.json {"data":"Postman collection generated: open-wa-session.postman_collection.json","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:10.761Z"}
- API collections (swagger + postman) generated successfully
info: API collections (swagger + postman) generated successfully {"data":"API collections (swagger + postman) generated successfully","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:11.257Z"}
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ ┃
┃ @open-wa/wa-automate ┃
┃ 💬 🤖 The most reliable NodeJS whatsapp library for chatbots with advanced features. ┃
┃ Version: 4.66.3 ┃
┃ Check out the latest changes: https://github.com/open-wa/wa-automate-nodejs#latest-changes ┃
┃ ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
info: RAM INFO Total: 2.07 GB | Free: 0.30 GB {"timestamp":"2023-12-14T18:37:11.552Z"}
info: PPTR VERSION INFO 19.11.1 {"timestamp":"2023-12-14T18:37:11.553Z"}
- Starting
info: Starting {"data":"Starting","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:11.559Z"}
- Version: 4.66.3
info: Version: 4.66.3 {"data":"Version: 4.66.3","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:11.563Z"}
- Initializing WA
info: Initializing WA {"data":"Initializing WA","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:11.563Z"}
- It is recommended to set useChrome: true or use the --use-chrome flag if you are experiencing issues with Multi device support
info: It is recommended to set useChrome: true or use the --use-chrome flag if you are experiencing issues with Multi device support {"data":"It is recommended to set useChrome: true or use the --use-chrome flag if you are experiencing issues with Multi device support","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:11.563Z"}
info: SCRIPT READY: jsSha.min.js 8982 {"timestamp":"2023-12-14T18:37:11.582Z"}
info: SCRIPT READY: base64.js 4173 {"timestamp":"2023-12-14T18:37:11.583Z"}
info: SCRIPT READY: qr.min.js 18603 {"timestamp":"2023-12-14T18:37:11.583Z"}
info: SCRIPT READY: hash.js 34983 {"timestamp":"2023-12-14T18:37:11.584Z"}
info: SCRIPT READY: launch.js 65074 {"timestamp":"2023-12-14T18:37:11.589Z"}
info: SCRIPT READY: wapi.js 79911 {"timestamp":"2023-12-14T18:37:11.590Z"}
- Launching Browser
info: Launching Browser {"data":"Launching Browser","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:11.590Z"}
- MD Enabled, turning off incognito mode.
info: MD Enabled, turning off incognito mode. {"data":"MD Enabled, turning off incognito mode.","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:11.603Z"}
- Data dir: ./_IGNORE_session
info: Data dir: ./_IGNORE_session {"data":"Data dir: ./_IGNORE_session","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:11.607Z"}
Puppeteer old Headless deprecation warning:
In the near future `headless: true` will default to the new Headless mode
for Chrome instead of the old Headless implementation. For more
information, please see https://developer.chrome.com/articles/new-headless/.
Consider opting in early by passing `headless: "new"` to `puppeteer.launch()`
If you encounter any bugs, please report them to https://github.com/puppeteer/puppeteer/issues/new/choose.
DEBUG INFO
npx @open-wa/wa-automate --debug --verbose
info: Set up logging for console {"timestamp":"2023-12-14T18:37:09.049Z"}
info: Config undefined is directory: false {"timestamp":"2023-12-14T18:37:09.058Z"}
info: Checking exists: cli.config.json {"timestamp":"2023-12-14T18:37:09.061Z"}
info: Checking exists: cli.config.json {"timestamp":"2023-12-14T18:37:09.064Z"}
info: Checking exists: cli.config.js {"timestamp":"2023-12-14T18:37:09.067Z"}
info: Using config file: ??? {"timestamp":"2023-12-14T18:37:09.067Z"}
- session_STARTUP
info: {"data":"","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:09.073Z"}
- DEBUG - PORT: 8002
info: DEBUG - PORT: 8002 {"data":"DEBUG - PORT: 8002","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:09.075Z"}
- DEBUG - flags: {"sessionId":"session","debug":true,"verbose":true,"noApi":false,"forceUpdateCwWebhook":false,"port":8002,"host":"localhost","ef":["qr","STARTUP","MD_DETECT","qrUrl"],"allowSessionDataWh":false,"generateApiDocs":true,"sessionDataOnly":false,"skipSavePostmanCollection":false,"headful":false,"preAuthDocs":false,"stats":false,"noKillOnLogout":false,"cors":false,"socket":false,"emitUnread":false,"allowIps":[],"popup":false,"logging":[{"type":"console","done":true}],"disableSpins":true}
info: DEBUG - flags: {"sessionId":"session","debug":true,"verbose":true,"noApi":false,"forceUpdateCwWebhook":false,"port":8002,"host":"localhost","ef":["qr","STARTUP","MD_DETECT","qrUrl"],"allowSessionData...[TRUNCATED]... {"data":"DEBUG - flags: {\"sessionId\":\"session\",\"debug\":true,\"verbose\":true,\"noApi\":false,\"forceUpdateCwWebhook\":false,\"port\":8002,\"host\":\"localhost\",\"ef\":[\"qr\",\"STARTUP\",\"MD_DETECT\",\"qrUrl\"],\"allowSessionData...[TRUNCATED]...","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:09.076Z"}
- DEBUG - env vars: {}
info: DEBUG - env vars: {} {"data":"DEBUG - env vars: {}","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:09.079Z"}
- Launching EASY API
info: Launching EASY API {"data":"Launching EASY API","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:09.080Z"}
info: config: {"PORT":8002,"cliConfig":{"allowIps":[],"allowSessionDataWh":"[REDACTED]","cors":false,"debug":true,"disableSpins":true,"ef":["qr","STARTUP","MD_DETECT","qrUrl"],"emitUnread":false,"forceUpdateCwWebhook":false,"generateApiDocs":true,"headful":false,"host":"localhost","logging":[{"done":true,"type":"console"}],"noApi":false,"noKillOnLogout":false,"popup":false,"port":8002,"preAuthDocs":false,"sessionDataOnly":"[REDACTED]","sessionId":"session","skipSavePostmanCollection":false,"socket":false,"stats":false,"verbose":true},"createConfig":{"allowIps":[],"allowSessionDataWh":"[REDACTED]","cors":false,"debug":true,"disableSpins":true,"ef":["qr","STARTUP","MD_DETECT","qrUrl"],"emitUnread":false,"forceUpdateCwWebhook":false,"generateApiDocs":true,"headful":false,"host":"localhost","logging":[{"done":true,"type":"console"}],"noApi":false,"noKillOnLogout":false,"popup":false,"port":8002,"preAuthDocs":false,"sessionDataOnly":"[REDACTED]","sessionId":"session","skipSavePostmanCollection":false,"socket":false,"stats":false,"verbose":true},"timestamp":"2023-12-14T18:37:09.083Z"}
- Selected port is free
info: Selected port is free {"data":"Selected port is free","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:09.128Z"}
- Generating Swagger Spec
info: Generating Swagger Spec {"data":"Generating Swagger Spec","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:09.135Z"}
- Postman collection generated: open-wa-session.postman_collection.json
info: Postman collection generated: open-wa-session.postman_collection.json {"data":"Postman collection generated: open-wa-session.postman_collection.json","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:10.761Z"}
- API collections (swagger + postman) generated successfully
info: API collections (swagger + postman) generated successfully {"data":"API collections (swagger + postman) generated successfully","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:11.257Z"}
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ ┃
┃ @open-wa/wa-automate ┃
┃ 💬 🤖 The most reliable NodeJS whatsapp library for chatbots with advanced features. ┃
┃ Version: 4.66.3 ┃
┃ Check out the latest changes: https://github.com/open-wa/wa-automate-nodejs#latest-changes ┃
┃ ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
info: RAM INFO Total: 2.07 GB | Free: 0.30 GB {"timestamp":"2023-12-14T18:37:11.552Z"}
info: PPTR VERSION INFO 19.11.1 {"timestamp":"2023-12-14T18:37:11.553Z"}
- Starting
info: Starting {"data":"Starting","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:11.559Z"}
- Version: 4.66.3
info: Version: 4.66.3 {"data":"Version: 4.66.3","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:11.563Z"}
- Initializing WA
info: Initializing WA {"data":"Initializing WA","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:11.563Z"}
- It is recommended to set useChrome: true or use the --use-chrome flag if you are experiencing issues with Multi device support
info: It is recommended to set useChrome: true or use the --use-chrome flag if you are experiencing issues with Multi device support {"data":"It is recommended to set useChrome: true or use the --use-chrome flag if you are experiencing issues with Multi device support","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:11.563Z"}
info: SCRIPT READY: jsSha.min.js 8982 {"timestamp":"2023-12-14T18:37:11.582Z"}
info: SCRIPT READY: base64.js 4173 {"timestamp":"2023-12-14T18:37:11.583Z"}
info: SCRIPT READY: qr.min.js 18603 {"timestamp":"2023-12-14T18:37:11.583Z"}
info: SCRIPT READY: hash.js 34983 {"timestamp":"2023-12-14T18:37:11.584Z"}
info: SCRIPT READY: launch.js 65074 {"timestamp":"2023-12-14T18:37:11.589Z"}
info: SCRIPT READY: wapi.js 79911 {"timestamp":"2023-12-14T18:37:11.590Z"}
- Launching Browser
info: Launching Browser {"data":"Launching Browser","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:11.590Z"}
- MD Enabled, turning off incognito mode.
info: MD Enabled, turning off incognito mode. {"data":"MD Enabled, turning off incognito mode.","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:11.603Z"}
- Data dir: ./_IGNORE_session
info: Data dir: ./_IGNORE_session {"data":"Data dir: ./_IGNORE_session","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-12-14T18:37:11.607Z"}
Puppeteer old Headless deprecation warning:
In the near future `headless: true` will default to the new Headless mode
for Chrome instead of the old Headless implementation. For more
information, please see https://developer.chrome.com/articles/new-headless/.
Consider opting in early by passing `headless: "new"` to `puppeteer.launch()`
If you encounter any bugs, please report them to https://github.com/puppeteer/puppeteer/issues/new/choose.
Are you using the latest version of the library?
What type of session are you experiencing this issue on?
Multi-device and I have set multiDevice to true in my config OR am using the --multi-device flag
What type of host account are you experiencing this issue on?
Business account
Mode
EASY API/CLI
Current Behavior
i dont know what happened... but last days i am trying all to start my WA and does not work... i updated all packages...and still dont working...
Have some idea?
✓ Launch inject: 799ms
✓ Authenticated
TypeError: Cannot read properties of undefined (reading 'default')
at csWLz (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:39:2 0, :0:4993)
at SeYsc (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:39:2 0, :0:22430)
at evaluate (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:3 9:20, :0:23064)
at evaluate (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:3 9:20, :0:22753)
at fillModuleArray (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_pat ch.js:39:20, :0:21939)
at pxPhN (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:39:2 0, :0:6482)
at e (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:39:20, < anonymous>:0:24302)
at evaluate (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:3 9:20, :0:32751)
at #evaluate (/root/lbot-whatsapp/lbot-whatsapp/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:199:59)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ExecutionContext.evaluate (/root/lbot-whatsapp/lbot-whatsapp/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Execu tionContext.js:126:16)
at async IsolatedWorld.evaluate (/root/lbot-whatsapp/lbot-whatsapp/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Isolated World.js:131:16)
at async CdpFrame.evaluate (/root/lbot-whatsapp/lbot-whatsapp/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Frame.js:363: 20)
at async CdpPage.evaluate (/root/lbot-whatsapp/lbot-whatsapp/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:751:20 )
at a (https://web.whatsapp.com/runtime.c1ada999948990ed9016.js:0:16341)
at t (https://web.whatsapp.com/runtime.c1ada999948990ed9016.js:0:214)
at 15283 (https://web.whatsapp.com/main.6da691ac74c858cbe681.js:4:2088345)
at t (https://web.whatsapp.com/runtime.c1ada999948990ed9016.js:0:214)
at 740068 (https://web.whatsapp.com/main.6da691ac74c858cbe681.js:5:1122099)
at Ce (https://web.whatsapp.com/main.6da691ac74c858cbe681.js:4:1400297)
Error while terminating browser PID. You can just ignore this, as the process has most likely been terminated successfully alread y: kill ESRCH
[OPEN-WA] Error [TypeError]: Cannot read properties of undefined (reading 'default')
at csWLz (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:39:2 0, :0:4993)
at SeYsc (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:39:2 0, :0:22430)
at evaluate (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:3 9:20, :0:23064)
at evaluate (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:3 9:20, :0:22753)
at fillModuleArray (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_pat ch.js:39:20, :0:21939)
at pxPhN (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:39:2 0, :0:6482)
at e (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:39:20, < anonymous>:0:24302)
at evaluate (evaluate at /root/lbot-whatsapp/lbot-whatsapp/node_modules/@open-wa/wa-automate/dist/controllers/init_patch.js:3 9:20, :0:32751)
at #evaluate (/root/lbot-whatsapp/lbot-whatsapp/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:199:59)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ExecutionContext.evaluate (/root/lbot-whatsapp/lbot-whatsapp/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Execu tionContext.js:126:16)
at async IsolatedWorld.evaluate (/root/lbot-whatsapp/lbot-whatsapp/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Isolated World.js:131:16)
at async CdpFrame.evaluate (/root/lbot-whatsapp/lbot-whatsapp/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Frame.js:363: 20)
at async CdpPage.evaluate (/root/lbot-whatsapp/lbot-whatsapp/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:751:20 )
at a (https://web.whatsapp.com/runtime.c1ada999948990ed9016.js:0:16341)
at t (https://web.whatsapp.com/runtime.c1ada999948990ed9016.js:0:214)
at 15283 (https://web.whatsapp.com/main.6da691ac74c858cbe681.js:4:2088345)
at t (https://web.whatsapp.com/runtime.c1ada999948990ed9016.js:0:214)
at 740068 (https://web.whatsapp.com/main.6da691ac74c858cbe681.js:5:1122099)
at Ce (https://web.whatsapp.com/main.6da691ac74c858cbe681.js:4:1400297)
Expected Behavior
,
Steps To Reproduce
npm start
authenticated
problems as logs
create() code OR full CLI command + CONFIG
DEBUG INFO
Environment
Screenshots/Logs
,
Anything else?
,
The text was updated successfully, but these errors were encountered: