Closed AronBuzogany closed 3 weeks ago
Working on a React app to control my Atem
When importing
import { Atem } from "atem-connection";
I get the following error:
Uncaught ReferenceError: __dirname is not defined
I am using Vite + React
atem-connection is a node.js only library, it will not work in a browser.
About me
Working on a React app to control my Atem
Issue
When importing
I get the following error:
I am using Vite + React