WBOT
WBOT copied to clipboard
Error on starting application: Cannot read properties of null (reading 'dataset')
Hello, just downloaded everithing from master branch did npm install and npm start and after the qr code scan it breaks with this log:
Looks like you got an error. Error: Evaluation failed: TypeError: Cannot read properties of null (reading 'dataset') at puppeteer_evaluation_script:3:47 Can't create shreenshot, X11 not running?. TypeError: Cannot read properties of undefined (reading 'screenshot') Error: Evaluation failed: TypeError: Cannot read properties of null (reading 'dataset') at puppeteer_evaluation_script:3:47 at ExecutionContext._evaluateInternal (D:......\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221:19) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:540:9) at process.processTimers (node:internal/timers:514:7) at async ExecutionContext.evaluate (D:......\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:110:16) at async Client.initialize (D:......\node_modules\whatsapp-web.js\src\Client.js:233:13) at async downloadAndStartThings (D:......\src\index.js:190:9) at async Main (D:......\src\index.js:37:9) Don't worry errors are good. They help us improve. A screenshot has already been saved as error.png in current directory. Please mail it on [email protected] along with the steps to reproduce it.
node:internal/process/promises:289 triggerUncaughtException(err, true /* fromPromise */); ^
Error: Evaluation failed: TypeError: Cannot read properties of null (reading 'dataset') at puppeteer_evaluation_script:3:47 at ExecutionContext._evaluateInternal (D:......\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221:19) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:540:9) at process.processTimers (node:internal/timers:514:7) at async ExecutionContext.evaluate (D:......\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:110:16) at async Client.initialize (D:......\node_modules\whatsapp-web.js\src\Client.js:233:13) at async downloadAndStartThings (D:......\src\index.js:190:9) at async Main (D:......\src\index.js:37:9)
Node.js v20.12.0
Any idea on what am i doing wrong?