maciejcieslar / instagrambot

Instagram bot in Node.js.
https://www.mcieslar.com/creating-an-instagram-bot-with-node
129 stars 43 forks source link

Evaluation failed: TypeError: Cannot read property 'parent' of null #4

Open argosk opened 5 years ago

argosk commented 5 years ago

Hi, first of all, congrats for the great work. I'm trying your app but I'm getting an Error when I run the app:

Failed to like/follow/comment. Error: Evaluation failed: TypeError: Cannot read property 'parent' of null at :13:18 at ExecutionContext.evaluateHandle (/home/emilio/Desktop/instagrambot/node_modules/puppeteer/lib/ExecutionContext.js:88:13) at at process._tickCallback (internal/process/next_tick.js:188:7)

Any idea what it could be?

rosariogueli commented 5 years ago

Yup, there's something wrong, I also get the Error: Evaluation failed: TypeError: Cannot read property 'parent' of null I will take a look at it myself and update this space when I manage to fix it.

rosariogueli commented 5 years ago

Yeah I didn't take a look at those yet, I only fixed what I needed for the comment function. When I get a little more time i will be happy to fix it.