Git Product home page Git Product logo

django_chat's People

Contributors

mattfreire avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

django_chat's Issues

The WebSocket is currently Closed

Tried to follow tutorial and got "The WebSocket is currently Closed" on the first run
In the console I see that Django constantly reloads on changes (despite there is no changes)

Cloned this repo to ensure I don't have errors in code, but the same result

Run on Mac, with docker-compose

Got following Errror "web-stats.json file not found error" when I trying to connect backend .

Hi Matt,
First of all thank you much for the nice blog("https://justdjango.com/blog/chat-app-django-channels"), it's very helpful to who want to learn web development.

Issue:
I am following the "https://justdjango.com/blog/chat-app-django-channels" to create chat app for my learning.I got below error when i trying to connect the backend.

**Error:

return self.load_assets()
File "/home/vicki/chatapp/venv/lib/python3.10/site-packages/webpack_loader/loader.py", line 29, in load_assets
raise IOError(
OSError: Error reading /home/vicki/chatapp/vicki_chat/webpack-stats.json. Are you sure webpack has generated the file and the path is correct?
ERROR 2023-07-14 00:32:35,527 log 6564 139765335713344 Internal Server Error: /
Traceback (most recent call last):
File "/home/vicki/chatapp/venv/lib/python3.10/site-packages/webpack_loader/loader.py", line 26, in load_assets
with open(self.config['STATS_FILE'], encoding="utf-8") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/vicki/chatapp/vicki_chat/webpack-stats.json'
**

In browser have seen below message:
"The WebSocket is currently Closed"

I am new to web development, kindly help me out.
is this file automatically created or we need to do something?

Thanks,
vignesh M

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.