Code Monkey home page Code Monkey logo

Comments (5)

philcoul avatar philcoul commented on August 20, 2024 3

Hi, I noticed that in the last version of the server.js from brad had the 'redis' package and much more. To get rid of this I used the code from 01Leviathan10 and it worked. Just need to update the package.json with the latest versions of packages like below and you are all set.
https://github.com/bradtraversy/chatcord/network/members

"dependencies": {
"express": "^4.18.2",
"moment": "^2.29.4",
"socket.io": "^4.5.4"

from chatcord.

bhaktitud avatar bhaktitud commented on August 20, 2024 1

hey you need to install docker,
just add a file called docker-compose.yml in the root of your project

and add the snippet bellow inside the file

version: "3"

services:
  redis:
    image: redis:5
    ports:
      - "6379:6379"

make sure your docker desktop is up and running,

now run this command in your terminal

docker-compose up -d

and finally run the server

npm run dev

from chatcord.

 avatar commented on August 20, 2024

Same thing happened with me

from chatcord.

danielmeyer-hash avatar danielmeyer-hash commented on August 20, 2024

i still have the same problem i dont know what to do

from chatcord.

ragnarbull avatar ragnarbull commented on August 20, 2024

@bhaktitud I made a PR to fix Redis see: #61

@danielmeyer-hash if you follow the comment above you it works perfectly. Or clone the project with my PR and setup Docker desktop and it will work.

from chatcord.

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.