Open jaballogian opened 1 year ago
Problematic line - you're trying to use mumble-client in the browser, and the os
module exists only in node.js environment.
I'll have it fixed.
Problematic line - you're trying to use mumble-client in the browser, and the
os
module exists only in node.js environment. I'll have it fixed.
You're right. That's why there is no UI/frontend/HTML file on this repository.
I thought this library could be used on the frontend side because there was a "client" name on the repository title ("mumble-client").
Problematic line - you're trying to use mumble-client in the browser, and the
os
module exists only in node.js environment. I'll have it fixed.You're right. That's why there is no UI/frontend/HTML file on this repository.
I thought this library could be used on the frontend side because there was a "client" name on the repository title ("mumble-client").
It is a mumble client, as in it connects to a remote mumble server. It was intented to run on Node.JS environment primarily (my use-case), but there is no reason why it couldn't run in the browser as well.
Description
Error after importing the
Channel
orClient
object from this library as seen in the screenshot belowSteps to produce
npx create-react-app
command@tf2pickup-org/mumble-client
dependency by using thenpm i @tf2pickup-org/mumble-client
commandApp.js
file and addimport { Channel, Client } from "@tf2pickup-org/mumble-client";
npm start
commandEnvironment
Framework: React Js 18.2.0 OS: Windows 11 and Monterey 12 (tested with both) Node: Node: 14.21.2, 16.18.0, and 18.13.0 (switchable)