Cannot read property 'attributes' of undefined in getBatteryLevel on 2.2146.9
See original GitHub issueDescription
(node:25) UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot read property 'attributes' of undefined
at Object.window.WAPI.window.WAPI.getBatteryLevel (/usr/src/app/node_modules/venom-bot/dist/lib/wapi/wapi.js:1:70062)
at __puppeteer_evaluation_script__:1:28
at ExecutionContext._evaluateInternal (/usr/src/app/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:217:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async ExecutionContext.evaluate (/usr/src/app/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:106:16)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:25) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async functi
on without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.ht
ml#cli_unhandled_rejections_mode). (rejection id: 1)
(node:25) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled
will terminate the Node.js process with a non-zero exit code.
Environment
- Venom version(s): [4.0.3]
- Browser: [Chrome]
- OS: [Ubuntu 20.04]
- Node version: [Node 14]
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
TypeError: Cannot read property 'attributes' of undefined
It seemed like the object just disappeared when I try to access its property XD. Anyone knows the reason why? Another strange thing...
Read more >TypeError: Cannot read property 'attributes' of undefined
TypeError : Cannot read property 'attributes' of undefined · 1) add the default columns block and select a layout · 2) put the...
Read more >orkestral/venom (Raised $0.00) - Issuehunt
Cannot read property 'wid' of undefined when reply or forward messages ... Cannot read property 'attributes' of undefined on 2.2146.9.
Read more >Solved: When saving a project, "Uncaught TypeError: Cannot...
When saving a project, "Uncaught TypeError: Cannot read property 'getAttribute' of undefined". Go to solution.
Read more >Cannot read property 'getAttribute' of undefined on node/add ...
...which appears to be looking for an attribute named "data-edit-entity-instance-id". I've copied a custom node template into my theme and ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@antirek fix!
@jonalan7 I checked, it’s ok!