Skip to content

maybe beginner's mistake #269

Description

@DestroyerIV

Hi, the API is failing me when I set the PokeGo.init method (prop, function (err) {/ ...}).

I set the variables correctly, check them a few times, and the console shows me the following error:

/mnt/c/Users/x-user/Desktop/x-proyect/node_modules/pokemon-go-node-api/poke.io.js:841
        var _data$results$0$geome = data.results[0].geometry.location;

TypeError: Cannot read property 'geometry' of undefined
    at /mnt/c/Users/x-user/Desktop/x-proyect/node_modules/pokemon-go-node-api/poke.io.js:841:53

when checking the line number, I see that it shows a '}'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions