use Standalone Client Tips: Error: ws does not work in the browser. Browser clients must use the native WebSocket object #1062
error is global is not define may edit vite.config.js export default defineConfig({ ..., define: { global: "globalThis", }, }); and then add Buffer in main.ts import { Buffer } from "buffer"; window.Buffer = Buffer;
不停学习,热爱是源源不断的动力。