justdjango / django_chat Goto Github PK
View Code? Open in Web Editor NEWA chat app built with Django Channels, React and TypeScript
License: MIT License
A chat app built with Django Channels, React and TypeScript
License: MIT License
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.