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.

"document is not defined" - server side rendering broke from version 7.13.1 to 7.13.2

See original GitHub issue

Hi, all.

From version 7.13.2 onwards, merely importing swal breaks node environments with “document is not defined”.

I tried to find here what could have caused this to come up with a PR, but I couldn’t find anything strange. Sorry 😕

https://github.com/sweetalert2/sweetalert2/compare/v7.13.1...v7.13.2

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
limontecommented, Mar 7, 2018

@firstdoit fixed in 7.15.1, sorry for this inconvenience. @zenflow added the test to prevent such regressions in future.

1reaction
limontecommented, Mar 7, 2018

@zenflow now I know how the help-me-to-understand-infinite-loop looks like 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Next.js: document is not defined - Stack Overflow
I think, in server rendering mode, the document is undefined. You should be able to use it inside class lifecycle methods or useEffect...
Read more >
Confluence 7.13 Release Notes - Atlassian Documentation
Confluence Server and Data Center 7.13 is a Long Term Support release ... This Confluence version is no longer available for download.
Read more >
Elasticsearch version 7.13.1 | Elasticsearch Guide [7.17] | Elastic
This issue is fixed in Elasticsearch versions 7.15.2 and later. There is no known workaround for earlier versions. Filesystems that enable sparse files...
Read more >
Firebase JavaScript SDK Release Notes - Google
As of this version, Internet Explorer 11 is no longer officially supported by ... isomorphic code that works well with use cases like...
Read more >
7.13 Sharing HTML output on the web | R Markdown Cookbook
One appealing aspect of rendering R Markdown to HTML files is that it is very easy to ... a set of files, or...
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