react-date-object icon indicating copy to clipboard operation
react-date-object copied to clipboard

Error: __vite_ssr_import_0__.default is not a constructor

Open nttruong21 opened this issue 1 year ago • 0 comments

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.

nttruong21 avatar May 23 '24 07:05 nttruong21