question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: Cannot read property 'name' of undefined -- version "^1.0.20"

See original GitHub issue

Hello, I’m using scrapedin with version 1.0.20 and this line const profile = await profileScraper('https://www.linkedin.com/in/emanfateen/') and here is my log

TypeError: Cannot read property ‘name’ of undefined at module.exports (/media/eman/programs/projects/project/crawler-latest/node_modules/scrapedin/src/profile/cleanProfileData.js:5:23) at module.exports (/media/eman/programs/projects/project/crawler-latest/node_modules/scrapedin/src/profile/profile.js:79:26) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:93:5) at async Function.start (/media/eman/programs/projects/project/crawler-latest/scraper.js:29:20) at async Socket.<anonymous> (/media/eman/programs/projects/project/crawler-latest/scraper.js:49:5)

I’m logging by cookie and here is my settings scraper: { hasToLog: true, isHeadless: true, puppeteerArgs: { args: [ ‘–no-sandbox’ ] }, interval: 13000, }

how could I solve this issue!!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
EmanFateencommented, Jul 9, 2020

@gautierdag Thank you. I got it

0reactions
raphaelprestoncommented, Feb 9, 2021

For those of you having these issues right now, try downgrading to puppeteer@5.3.1.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: Cannot read property 'name' of undefined #20
~/projects/xxx/frontend npm run start ✓ 4s > talan-frontend@1.1.0 start > vue-cli-service serve INFO Starting development server.
Read more >
"error": "message": "Cannot read property 'name' of undefined"
So, I'm trying to create a route and I created a route that should manage to POST data and I have been testing...
Read more >
Uncaught TypeError: Cannot read property of null - iDiallo
All this means is that you are trying to access a property of an object that is undefined. These usually happens when we...
Read more >
27/33 TypeError: Cannot read property 'name' of undefined
Here is my code: --- function Person(name, age) { this.name = name; this.age = age; }; var family = new ... TypeError: Cannot...
Read more >
cannot read properties of undefined (reading 'includes'
I get TypeError: Cannot read properties of undefined (reading 'includes'), Line of, "const followed, setFollowed " That's the real issue showing?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found