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.

Problem in simple login

See original GitHub issue

I try to simply log in as

const Instagram = require('instagram-web-api');
const client = new Instagram({ username: 'XX', password: 'YY' });

(async () => {
   await client.login();
   const profile = await client.getProfile();
})();

but it returns the error:

TypeError: Cannot read property 'map' of undefined
    at request.then.res (/home/kimia/node_modules/instagram-web-api/lib/index.js:55:46)
    at processTicksAndRejections (internal/process/task_queues.js:86:5)

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
gutosanchescommented, Jul 16, 2019

Looks like the package is outdated in npm. I fixed that by installing the package using the master branch putting this in my package.json: "instagram-web-api": "https://github.com/jlobos/instagram-web-api.git"

0reactions
ruskidcommented, Apr 2, 2022

still relevant

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting - SimpleLogin Docs
Troubleshooting. Email sent to an alias is not delivered. In the event that SimpleLogin can't deliver an email to your mailbox, we'll:.
Read more >
Issues · simple-login/app - GitHub
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the...
Read more >
is SimpleLogin not working / having issues for you?
I'm having SimpleLogin login issue or account related issues. · The SimpleLogin server may be down and that is causing the login/account issue....
Read more >
Issues for SimpleLogin | Drupal.org
Title Status Priority Category Version C... Automated Drupal 10 compatibility fixes Needs review Normal Task 8.x‑6.0 C... Error on admin page Active Normal Support request...
Read more >
is SimpleLogin | Anti-spam not working / having issues for you?
The SimpleLogin | Anti-spam server may be down and that is causing the login/account issue. · Your wifi / mobile data connection not...
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