Backend Tutorial: Serving HTML Recordsdata utilizing NodeJs | Internet Improvement Tutorials #66



► Supply Code & Notes: https://codewithharry.com/movies/web-development-in-hindi-66
►This video is part of this Full Internet Improvement in Hindi Course Playlist: https://www.youtube.com/playlist?listing=PLu0W_9lII9agiCUZYRsvtGTXdxkzPyItg
►Click on right here to subscribe – https://www.youtube.com/channel/UCeVMnSShP_Iviwkknt83cww
►Checkout my English channel right here: https://www.youtube.com/ProgrammingWithHarry

Greatest Hindi Movies For Studying Programming:

►Be taught Python In One Video – https://www.youtube.com/watch?v=ihk_Xglr164

►Python Full Course In Hindi – https://www.youtube.com/playlist?listing=PLu0W_9lII9agICnT8t4iYVSZ3eykIAOME

►C Language Full Course In Hindi –
https://www.youtube.com/playlist?listing=PLu0W_9lII9aiXlHcLx-mDH1Qul38wD3aR&disable_polymer=true

►JavaScript Full Course In Hindi –
https://www.youtube.com/playlist?listing=PLu0W_9lII9ajyk081To1Cbt2eI5913SsL

►Be taught JavaScript in One Video – https://www.youtube.com/watch?v=onbBV0uFVpo

►Be taught PHP In One Video – https://www.youtube.com/watch?v=xW7ro3lwaCI

►Django Full Course In Hindi –
https://www.youtube.com/playlist?listing=PLu0W_9lII9ah7DDtYtflgwMwpT3xmjXY9

►Machine Studying Utilizing Python – https://www.youtube.com/playlist?listing=PLu0W_9lII9ai6fAMHp-acBmJONT7Y4BSG

►Creating & Internet hosting A Web site (Tech Weblog) Utilizing Python – https://www.youtube.com/playlist?listing=PLu0W_9lII9agAiWp6Y41ueUKx1VcTRxmf

►Superior Python Tutorials – https://www.youtube.com/playlist?listing=PLu0W_9lII9aiJWQ7VhY712fuimEpQZYp4

►Object Oriented Programming In Python – https://www.youtube.com/playlist?listing=PLu0W_9lII9ahfRrhFcoB-4lpp9YaBmdCP

►Python Knowledge Science and Massive Knowledge Tutorials – https://www.youtube.com/playlist?listing=PLu0W_9lII9agK8pojo23OHiNz3Jm6VQCH

Comply with Me On Social Media
►Web site (created utilizing Flask) – http://www.codewithharry.com
►Fb – https://www.fb.com/CodeWithHarry
►Instagram – https://www.instagram.com/codewithharry/
►Private Fb A/c – https://www.fb.com/geekyharis
Twitter – https://twitter.com/Haris_Is_Here

source

36 thoughts on “Backend Tutorial: Serving HTML Recordsdata utilizing NodeJs | Internet Improvement Tutorials #66”

  1. Dude,just speak english or hindi if you wuant ,its so annoying watching a video with a english subtitle and in the middle of the video you speak hindi or whatever the language is , a dislike is what you got !

    Reply
  2. I wrote the same code as you did and checked it 5 times but its still showing error and not showing port 80. The backend part is really tricky 🙁
    Edit: I was using a 10 year old laptop and hence was encountering a lot of issues while going through backend tutorial videos. On Harry's advice, I upgraded to a new laptop and now most of the issues I was encountering are gone!

    Reply
  3. i was face this problem any one can solve this

    [Running] node "e:WEBSITE.vscodetut_66.js"

    node:internal/fs/utils:347

    throw err;

    ^

    Error: ENOENT: no such file or directory, open 'grid.html'

    at Object.openSync (node:fs:601:3)

    at Object.readFileSync (node:fs:469:35)

    at Object.<anonymous> (e:WEBSITE.vscodetut_66.js:4:22)

    at Module._compile (node:internal/modules/cjs/loader:1254:14)

    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)

    at Module.load (node:internal/modules/cjs/loader:1117:32)

    at Module._load (node:internal/modules/cjs/loader:958:12)

    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)

    at node:internal/main/run_main_module:23:47 {

    errno: -4058,

    syscall: 'open',

    code: 'ENOENT',

    path: 'grid.html'

    }

    Node.js v18.15.0

    [Done] exited with code=1 in 0.194 seconds

    Reply
  4. Hi Harry Bhai….
    I am using Linus Ubuntu
    but getting this error…

    birjendra@birjendra-HP-Laptop-14-bs0xx:~/Documents/JSbyHarry$ node .tut66.js
    internal/modules/cjs/loader.js:818
    throw err;
    ^

    Error: Cannot find module '/home/birjendra/Documents/JSbyHarry/.tut66.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
    at internal/main/run_main_module.js:17:47 {
    code: 'MODULE_NOT_FOUND',
    requireStack: []
    }
    birjendra@birjendra-HP-Laptop-14-bs0xx:~/Documents/JSbyHarry$ node tut66.js
    events.js:291
    throw er; // Unhandled 'error' event
    ^

    Error: listen EACCES: permission denied 127.0.0.1:80
    at Server.setupListenHandle [as _listen2] (net.js:1293:21)
    at listenInCluster (net.js:1358:12)
    at doListen (net.js:1495:7)
    at processTicksAndRejections (internal/process/task_queues.js:85:21)
    Emitted 'error' event on Server instance at:
    at emitErrorNT (net.js:1337:8)
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
    code: 'EACCES',
    errno: 'EACCES',
    syscall: 'listen',
    address: '127.0.0.1',
    port: 80
    }

    Please help

    Reply
  5. i am facing this issue at Module._compile (node:internal/modules/cjs/loader:1246:14)

    at Module._extensions..js (node:internal/modules/cjs/loader:1300:10)

    at Module.load (node:internal/modules/cjs/loader:1103:32)

    at Module._load (node:internal/modules/cjs/loader:942:12)

    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)

    at node:internal/main/run_main_module:23:47 {

    code: 'ERR_INVALID_ARG_TYPE'

    }

    Reply
  6. bhai error aa rha hai
    PS D:Coding> node "d:Codingtut66a.js"

    node:internal/fs/utils:347

    throw err;

    ^

    Error: ENOENT: no such file or directory, open 'tut61.html'

    ←[90m at Object.openSync (node:fs:600:3)←[39m

    ←[90m at Object.readFileSync (node:fs:468:35)←[39m

    at Object.<anonymous> (d:Codingtut66a.js:4:24)

    ←[90m at Module._compile (node:internal/modules/cjs/loader:1226:14)←[39m

    ←[90m at Module._extensions..js (node:internal/modules/cjs/loader:1280:10)←[39m

    ←[90m at Module.load (node:internal/modules/cjs/loader:1089:32)←[39m

    ←[90m at Module._load (node:internal/modules/cjs/loader:930:12)←[39m

    ←[90m at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)←[39m

    ←[90m at node:internal/main/run_main_module:23:47←[39m {

    errno: ←[33m-4058←[39m,

    syscall: ←[32m'open'←[39m,

    code: ←[32m'ENOENT'←[39m,

    path: ←[32m'tut61.html'←[39m

    }

    Node.js v18.14.0

    PS D:Coding>

    Reply
  7. The first argument of the res.writeHead() method is the status code, 200 means that all is OK, the second argument is an object containing the response headers.
    hope this helps those who were confused about the 200

    Reply

Leave a Comment