Error: Unexpected server response: 200
When using lavaclient via deno's npm support (I was using lavadeno but that isn't updated to lavalink 4) with a lavalink 4 node I get the following error:
16 Replies
You need to use lavaclient v5
i've been lazy and keep putting off releasing it to @latest
ah
npm
lavaclient
A simple, easy-to-use, and flexible lavalink client for node.js. Latest version: 4.1.1, last published: 2 years ago. Start using lavaclient in your project by running
npm i lavaclient
. There are no other projects in the npm registry using lavaclient.despite the semver name thingy, it's not really alpha
but it is a rewrite so ¯\_(ツ)_/¯
check pinned thread
this is fine, not like my code was good to begin with
What is the status around using NPM packages in Deno? i'm personally against it but if there's no reason to keep a dedicated port then I'd rather not keep it
It's preferred to use native deno packages but the support has gotten good enough to where most packages work
hmm, afaict native would only really consist of switching to the
WebSocket
global
node should be getting that soonmmm
am I doing something wrong here? #Project Discussion says you can just do player.on but types say otherwise
i think it's a dev dependency issue
:AHHHH:
maybe
bruhhhhhhhhhhhh
let me just release it
typed-emitter is a required dep but it's listed as dev only, idk if there's a way for you to include it somehow
working on releasing all the packages rn
npm
lavaclient
A simple, easy-to-use, and flexible lavalink client for node.js. Latest version: 4.1.1, last published: 2 years ago. Start using lavaclient in your project by running
npm i lavaclient
. There are no other projects in the npm registry using lavaclient.not sure if this is like a deno npm compat issue or not
I presume it most likely is because of the fact types say otherwise
prolly
mmm, might be an ESM thing idk