Code Monkey home page Code Monkey logo

Comments (6)

anthonyettinger avatar anthonyettinger commented on August 27, 2024 1

@kudos any idea?

from koa-websocket.

kudos avatar kudos commented on August 27, 2024

@chovy I'm still using Koa 1.x in my projects for now, but I'll happily accept patches for [email protected] and would maintain a [email protected] from there.

from koa-websocket.

ralyodio avatar ralyodio commented on August 27, 2024

@kudos -- thanks. I'm happy to submit a patch if I knew what the fix is.

I believe its this line here, but I'm not sure how to make this async in koa2.

https://github.com/kudos/koa-websocket/blob/master/index.js#L27

from koa-websocket.

donjae avatar donjae commented on August 27, 2024

@anthonyettinger @kudos Im having the same issue too, and the workaround at this point seems really painful (using 2 routers/breaking some of the IoC in my application). I tried patching it myself by updating some of the dependencies (I think one of the builds were failing), but didn't have any luck.

from koa-websocket.

cymen avatar cymen commented on August 27, 2024

I opened a PR for this here: #18

The biggest help was using DEBUG=koa* node test.js as that emits more information from Koa. That additional logging made it easier to track down what wasn't working.

from koa-websocket.

kudos avatar kudos commented on August 27, 2024

Thanks to @cymen this is now resolved! Update this to 3.0.1 if you're running a Koa 2 stack.

from koa-websocket.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.