Skip to content

[Bug]: Nextjs Runtime Error: Element type is invalid #188

@acapop77

Description

@acapop77

Description

In nextjs 15 with mui-tel-input version 9.0.0 and 9.0.1 getting runtime error in MuiTelInput when rendered on server side (SSR). On client side render it all works fine. In version 8.0.x it works fine.

Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.

Code sandbox

https://codesandbox.io/p/devbox/hungry-cohen-9z4s9h/?file=%2Fpages%2Findex.tsx%3A14%2C29

Environment

"@emotion/react": "11.14.0",
"@emotion/styled": "11.14.0",
"@mui/material": "6.4.11",
"mui-tel-input": "9.0.1",
"next": "15.3.2",
"react": "19.1.0",
"react-dom": "19.1.0",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions