New react application with minimal zoom integration raise errors

I created an empty react web project, added the zoom SDK (tried both ways - CDN and local) and run these 3 lines of code, nothing else, no react code yet, no zoom code yet, nothing. Only these 3 rows:
import { ZoomMtg } from “@zoomus/websdk”;

And I get the following error message in chrome console:
VM61 webim.min.js:1 Uncaught SyntaxError: Unexpected token ‘<’
VM62 6568_js_media.min.js:1 Uncaught SyntaxError: Unexpected token ‘<’


If I ignore this error and try to join a meeting I get empty black screen.


When it comes to using React with the Web SDK, I would make sure to closely follow our Sample React App which was created using the create-react-app command.

Looking at that implementation, you might be missing a line to call setZoomJSLib:

Let me know if that helps.