You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
mvicki93
changed the title
Got following when I trying to connect backend Errror web-stats.json file not found error
Got following Errror web-stats.json file not found error when I trying to connect backend .
Jul 14, 2023
mvicki93
changed the title
Got following Errror web-stats.json file not found error when I trying to connect backend .
Got following Errror "web-stats.json file not found error" when I trying to connect backend .
Jul 14, 2023
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
The text was updated successfully, but these errors were encountered: