Closed andersaamodt closed 2 years ago
I manually added "type": "module"
, to the package.json file in node_modules/@jitsi/react-sdk and it made this error go away
Sorry for the late reply, are you using a vite template?
I used the built-in typescript-react template, yes
Could you please tell me when exactly does this error pop up? I can't seem to reproduce it.
I think it's gone away for me, too. Checking the package.json, the module line is gone, so I guess it got updated and overwritten and the error hasn't come back. I'll let you know if it reappears with more detail.
Trying to compile with Vite + TypeScript and getting this error