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.

Heartbeat cells suddenly empty?

See original GitHub issue

Since the latest update, my heartbeat cells array is empty. Auth works fine and then I am using the code from example:

Pokeio.Heartbeat(function(err,hb) {
            if(err) {
                console.log(err);
            }

            console.log(hb);

            for (var i = hb.cells.length - 1; i >= 0; i--) {
                if(hb.cells[i].NearbyPokemon[0]) {
                    //console.log(Pokeio.pokemonlist[0])
                    var pokemon = Pokeio.pokemonlist[parseInt(hb.cells[i].NearbyPokemon[0].PokedexNumber)-1]
                    console.log('[+] There is a ' + pokemon.name + ' at ' + hb.cells[i].NearbyPokemon[0].DistanceMeters.toString() + ' meters')
                }
            }

        });

returns

{ cells: [] }

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:50 (24 by maintainers)

github_iconTop GitHub Comments

7reactions
d-pollardcommented, Jul 21, 2016

@Armax I was thinking that too - reverting back to simple-s2-node works for me currently. If anyone wants to test it - its in my fork of this repo @dddicillo @Armax

7reactions
Armaxcommented, Jul 21, 2016

You can get exact location only for catchable pokemons (I will close the issue but you can keep commenting)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Premature Ventricular Contractions | Cedars-Sinai
Premature ventricular contractions, or PVCs, are a type of abnormal heartbeat. Read on to learn more about their cause, symptoms, diagnosis, and treatment....
Read more >
Premature ventricular contractions (PVCs) - Mayo Clinic
Premature ventricular contractions (PVCs) are extra heartbeats that begin in one of the heart's two lower pumping chambers (ventricles).
Read more >
Ectopic heartbeat Information | Mount Sinai - New York
Ectopic heartbeats are changes in a heartbeat that is otherwise normal. These changes lead to extra or skipped heartbeats. There is often not...
Read more >
Premature Ventricular Contraction - StatPearls - NCBI Bookshelf
The most common sensation associated with PVCs is that of a skipped heartbeat followed by a fluttering sensation. Patients commonly present ...
Read more >
Chronic atrial and intestinal dysrhythmia: MedlinePlus Genetics
Symptoms related to abnormal heartbeats can include dizziness, light-headedness, fainting (syncope), a sensation of fluttering or pounding in ...
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