GithubHelp home page GithubHelp logo

Comments (5)

vvtri avatar vvtri commented on June 2, 2024 1

@nwalters512 arf, I did not test with yarn, sorry for that.

@govind-amt which version of socket.io-parser package (imported by both socket.io and @socket.io/redis-adapter) is installed?

I get same error, I used [email protected] and @socket.io/[email protected]

from socket.io-redis-adapter.

nwalters512 avatar nwalters512 commented on June 2, 2024

It looks like the following change silently changed the minimum version of socket.io-adapter that's required:

7fb6b90

Some package managers will automatically install required peer dependencies. Mine did not; I ran yarn add socket.io-adapter && yarn dedupe && yarn remove socket.io-adapter, and now things work correctly.

from socket.io-redis-adapter.

darrachequesne avatar darrachequesne commented on June 2, 2024

@nwalters512 arf, I did not test with yarn, sorry for that.

@govind-amt which version of socket.io-parser package (imported by both socket.io and @socket.io/redis-adapter) is installed?

from socket.io-redis-adapter.

darrachequesne avatar darrachequesne commented on June 2, 2024

@vvtri that's weird, you should have [email protected]. Could you please try running npm update socket.io-adapter to see if it fixes your issue?

from socket.io-redis-adapter.

xtrinch avatar xtrinch commented on June 2, 2024

Yeah same issue here, it installs [email protected]. Even pinning it to 2.5.4 in package.json doesn't help
Setting

  "resolutions": {
    "socket.io-adapter": "2.5.4"
  }

in package.json works and fixes the issue

from socket.io-redis-adapter.

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.