Skip to content

[BUG] TypeError: Object(...).getElementsByTagName is not a function #1024

Closed

Description

@samiashi

Upgrading from v5.11.1 to v5.13.0 breaks with

TypeError: Object(...).getElementsByTagName is not a function
    at h (/home/project/hypernova-service/dist/hypernova-service.js:40721:129)

I'm using a combination of Hypernova for SSR & React 18 for CSR but it seems that this package breaks my app when being loaded on the SSR after the latest upgrade.

Activity

  1. gabrieljablonski commented on May 17, 2023

    @gabrieljablonski
    Member

    Are you able to provide a sample repo with the setup you've described so we can reproduce the problem?

  2. samiashi commented on May 17, 2023

    @samiashi
    Author

    @gabrieljablonski I would need a some time to create one and share it.
    I believe the issue here is we need something similar to use-client for NextJS where we only import the module on the client

    I'm happy to test any fixes locally to confirm if they work or not

  3. gabrieljablonski commented on May 26, 2023

    @gabrieljablonski
    Member
  4. gabrieljablonski commented on Jul 3, 2023

    @gabrieljablonski
    Member

    Closing since no response from OP.

    Feel free to reopen with more info so we can discuss it.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions