#20 Understanding event driven architecture | Fundamentals of NODE JS | A Complete NODE JS Course
HTML-код
- Опубликовано: 16 окт 2024
- In this lecture you will learn what do we mean by event-driven architecture and how NODE JS uses this architecture.
Source code GIT Repo: github.com/man...
You are an excelent professor
great explanation, thank you
woah! your teaching methodology is so clear and to the point
Great Thank you
Hi, I hope you can read this message.
I'm currently learning with your videos but I can't figure something out and its taking me hours and I truly want to understand it before continuing with the course.
The 404 Error Page works perfectly on the server when your not searching for an ID that doesn't exist in your json file, if for example I place id=10 it will collapse the whole server and I have to restart it, do you know how can I overpass this?
Isn't it showing any error message before the application crashes. Can you share the error message please
C:....\Node JS Basics\Modules
eplaceHtml.js:2
let output = template.replace('{{%IMAGE%}}', product.productImage);
^
TypeError: Cannot read properties of undefined (reading 'productImage')
at module.exports (C:\Users\allan\Desktop\Node JS Basics\Modules
eplaceHtml.js:2:58) at Server. (C:\Users\allan\Desktop\Node JS Basics\app.js:55:45)
at Server.emit (node:events:513:28)
at parserOnIncoming (node:_http_server:1013:12)
at HTTPParser.parserOnHeadersComplete (node:_http_common:117:17)@@procademy
Instead of sending the wrong id search to the 404 error pages is searching for it in our JSON Data File but since it doesn't find anything is crashing.
Thank you
@@MaxoKinq same here
@@MaxoKinq hey bro if you are sitll facing this problem or you still working on it you need to check if product have a proprety named productImage
Great
❤❤❤
you teach well but you should give examples on each new page bcz using the previous codes makes something very complex and harder to understand and when it is so easy
I understand the feeling. But, those who have been following the series from the beginning will appreciate the continuity.
It's a course not a short so there should be continuity.
look like reading script from somewhere :]
sorry ,the concept is not clear