Closed matiaslopezd closed 5 years ago
Thanks. The uws
section has been removed from the documentation.
Is this actually being removed?
uws
has been deprecated for a while and was never used with Feathers (or the CLI) itself. Current versions of Socket.io come with a performant websocket engine that does not require any additional configuration.
Socket.io performance issues still remain, it would be worthwhile to support uWebSockets.js
This is why Feathers also has a Primus adapter which allows support for many other websocket libraries. Please submit an issue there first.
Native Feathers transport adapters are usually more established libraries (currently planned: KoaJS and native HTTP/HTTP2) or will have to be community contributions.
Steps to reproduce
uWebSocket npm package here are deprecated, check here.
Expected behavior
Initialize uWebSocket with a stable npm package
Actual behavior
Can't initialize uWebSocket with deprecated package
Module versions (especially the part that's not working):
npm install uws --save
->uws@99.0.0 DEPRECATED
NodeJS version:
v10.13.0
Module Loader:
@feathersjs/cli
Suggested Solution
Npm package is updated here.
npm install uNetworking/uWebSockets.js#v15.1.0