Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Problem with next.js #28

Open
Open
@mukhammadjon-s

Description

I am using this package in my next.js project but got this issue. I have copied all code from examples folder but still issue
`Unhandled Runtime Error
TypeError: Cannot read properties of null (reading 'append')

Call Stack
init
node_modules@unicef\react-org-chart\dist\index.js (19:3197)
e.value
node_modules@unicef\react-org-chart\dist\index.js (37:1738)
commitLifeCycles
node_modules\react-dom\cjs\react-dom.development.js (20663:0)
commitLayoutEffects
node_modules\react-dom\cjs\react-dom.development.js (23426:0)
HTMLUnknownElement.callCallback
node_modules\react-dom\cjs\react-dom.development.js (3945:0)
HTMLUnknownElement.sentryWrapped`

How can I fix it ? It is not compatible with Next.js ?

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

        AltStyle によって変換されたページ (->オリジナル) /