Skip to content

Document not definedΒ #793

@ghost

Description

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

Getting the stacktrace mentioned on issue 785 during build step on next v12. It was not a problem on prior major versions.

If the current behavior is a bug, please provide the steps to reproduce and possibly a minimal demo or testcase in the form of a Next.js app, CodeSandbox URL or similar

This could be difficult as I myself ran across this bug at work and could not reproduce this error locally at home.

What is the expected behavior?

It should'nt throw the error.

Environment (include versions)

  • Version of styled-jsx (or next.js if it's being used): Next 12.1.5
  • Browser: N/A (Build issue)
  • OS: Windows 10

Did this work in previous versions?

Yes, upto Next v11.1.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions