Open excing opened 1 year ago
是在用浏览器吗?
嗯,是的。
我整了一个ws.js的补丁,可能要麻烦在node_modules里面手动替换文件帮忙测试一下,因为我也不知道这个是否可以修复这个问题,如果可以的话我就发一个新版本 ws.js.zip
这个我要怎么用呢?ws.js 文件很多报错。
这个报错你不用管,你看你的项目文件,里面应该有这个 node_modules/bilibili-live-ws/src/ws.js 把这个ws.js替换掉
替换好了,但重新运行项目,查看浏览器开发者工具,ws.js 还是之前的代码,没有被替换。
我去 怎么会这样呢 这个进入玄学领域了
[笑哭] node_modules
目录里的文件可以直接更新替换吗?
哎 难道不行吗 我直接发新版本好了
bilibili-live-ws@6.2.2
谢谢,错误没有了,非常感谢~
github网页开着其实会自动刷新的(Simon在 08.05.2023,上午10:16,Qiang @.***> 写道: [比心]为什么你的回复能这么快[惊]
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
调用
LiveWS
类出现Uncaught (in promise) ReferenceError: Buffer is not defined
的错误,代码位置如下(ws.ts#22):请问这是什么问题呢?是我的配置错误吗?怎么解决?
谢谢。