Skip to content

Error: __vite_ssr_import_0__.default is not a constructor #10

@nttruong21legacy

Description

@nttruong21legacy

Hi, I am using Vike with SSR component and receiving the error message:

Error: vite_ssr_import_0.default is not a constructor

In the component, i use import DateObject from 'react-date-object'. When I use CSR, this works well.
Any answer is welcome. Thanks a lot.

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