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.

Cannot read property 'x' of undefined

See original GitHub issue

This line throws an error

        center: new google.maps.LatLng(-37.8136, 144.9631),

Is there a workaround ?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
ankitappuriacommented, Nov 19, 2016

Thanks issue was in variable declaration I have solved it.

0reactions
dburlescommented, Nov 19, 2016

@ankitappuria if you could, can you provide a link to a repo with a complete app I can run? (if you can please only include code that is relevant to the issue)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught TypeError: Cannot read property 'x' of undefined ...
When you forget the var you are creating a global variable -- or in this case, redefining the global self as your local...
Read more >
Uncaught TypeError: Cannot read property 'x' of undefined
'Undefined' is the property of the global object. This error occurs in Chrome Browser when you read a property or call a method...
Read more >
Cannot read property 'x' of undefined · Issue #59 - GitHub
I've been getting this error when two bodies with the hull settings collide with each other. My knowledge about geometries is pretty low,...
Read more >
Fixing 'cannot read property x of undefined' in Javascript
So if you see ' cannot read property 'name' of undefined' go check your code and find where are you calling '.name' and...
Read more >
[SOLVED] Error: TypeError: Cannot read Property X of undefined
You need to make sure that your subscription to the collection HostStatus is ready, because when you call HostStatus.findOne it might return ...
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