0

I know that theres a latest version on github (websocket.js) by the same author, but I specifically need a version that works with discord.js. I tried installing a usable version, with

npm install uws@10.148.1

but it doesn't work, it returns this error:

npm ERR! ELOOP: too many symbolic links encountered

I'm also not too sure which versions I should install, as I just started using discord.js.

My questions:

Firstly,

Is there a uws version compatible with discord.js that I can install, and how could I install it?

And if not:

Is there a way to fix this eloop error?

Any help would be appreciated? If I'm not clear, please drop a comment below and I'll try to clarify. Once again, thanks for any help!

1 Answers1

0

I will refer you to these other posts for some detailed information on the subject.

This one involves the error you're referring to so it might be an answer to your problem. ELOOP Error

This one involves some good information on how to use npm in different ways that may be useful. npm outdated

I looked up the package and created a test folder to see if I could install the package you're talking about in there using npm i outdated uws@10.148.1.

I then uninstalled it using npm uninstall outdated uws@10.148.1

Everything seemed to work fine besides all the deprication errors and warnings.