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.

TypeError: Cannot read property 'querySelector' of null - Outdated sweetAlert?

See original GitHub issue

I get this error TypeError: Cannot read property 'querySelector' of null when running the plugin. I found it was a bug in the original SweetAlert and that it was already solved. Is there any chance your improved version is not up to date?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
alekittocommented, May 26, 2016

This version of sweetalert has been sync’d to the original one. Have you tried the master branch version?

0reactions
alekittocommented, May 26, 2016

Ok, probably we just need to tag a new release. Closing this and continuing in #56

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot read property 'querySelector' of null · Issue #78 · t4t5 ...
I run into problems if I try to get the example working to initially setup sweetalert. Problem occurs in various Browsers (Chrome latest, ......
Read more >
Uncaught TypeError: Cannot read property 'then' of undefined ...
I'm new to JS, Jquery etc. Uncaught TypeError: Cannot read property 'then' of undefined at Object.success ((index):204) at c (jquery-3.4.1 ...
Read more >
Cannot read property 'querySelector' of Null in JavaScript
To solve the "Cannot read property 'querySelectorAll' of null" error, make sure the id you're using to get the element exists in the...
Read more >
Cannot read property 'querySelector' of null -- No idea why
Uncaught TypeError: Cannot read property 'querySelector' of null. Here is my current code: const form = document.
Read more >
uncaught typeerror: cannot read properties of null ... - You.com
The "Cannot read property 'forEach' of undefined" error often occurs when trying to access an array index that doesn't exist. index.js const arr...
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