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: Page crashed! #8

Open
hista opened this issue Oct 3, 2022 · 1 comment
Open

Error: Page crashed! #8

hista opened this issue Oct 3, 2022 · 1 comment

Comments

@hista
Copy link

hista commented Oct 3, 2022

Hi,
I am facing an issue:

npm run start

> [email protected] start
> node src/

/home/hista/badoo_autolikes_bot/node_modules/puppeteer/lib/Page.js:213
    this.emit('error', new Error('Page crashed!'));
                       ^

Error: Page crashed!
    at Page._onTargetCrashed (/home/hista/badoo_autolikes_bot/node_modules/puppeteer/lib/Page.js:213:24)
    at CDPSession.<anonymous> (/home/hista/badoo_autolikes_bot/node_modules/puppeteer/lib/Page.js:122:56)
    at CDPSession.emit (node:events:513:28)
    at CDPSession._onMessage (/home/hista/badoo_autolikes_bot/node_modules/puppeteer/lib/Connection.js:200:12)
    at Connection._onMessage (/home/hista/badoo_autolikes_bot/node_modules/puppeteer/lib/Connection.js:112:17)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:533:9)
    at process.processTimers (node:internal/timers:507:7)
Emitted 'error' event on Page instance at:
    at Page._onTargetCrashed (/home/hista/badoo_autolikes_bot/node_modules/puppeteer/lib/Page.js:213:10)
    at CDPSession.<anonymous> (/home/hista/badoo_autolikes_bot/node_modules/puppeteer/lib/Page.js:122:56)
    [... lines matching original stack trace ...]
    at process.processTimers (node:internal/timers:507:7)

Node.js v18.9.1

Could you please tell me how to fix it?

Thanks for your kind help :)

chriscoderdr added a commit to chriscoderdr/badoo_autolikes_bot that referenced this issue Apr 9, 2023
Plus improving and tyding the code
Changing from click event to keyboard event for like
chriscoderdr added a commit to chriscoderdr/badoo_autolikes_bot that referenced this issue Apr 9, 2023
@chriscoderdr
Copy link

@hista I made a PR that fixes this and improve the code a little bit:
#9
While it gets merge you could use my main branch.

https://github.com/chriscoderdr/badoo_autolikes_bot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants