NodeJS FileSystem: Read Files Using fs.readFile() and fs.readFileSync()

9
3



In this video, we looked at how we can read contents of files in NodeJS using the functions fs.readFile() and fs.readFileSync() functions of the filesystem module.

[vid_tags]

Xem Thêm Bài Viết Về Mobile Khác: https://sealsystem.org/mobile

Nguồn: https://sealsystem.org/

9 COMMENTS

  1. Hi great video, but i have an error for you. I am opening the file but it will give mw the following error:

    Error: ENOENT: no such file or directory, open './‪qwerty.txt'.

    I have the file in same folder with name "qwerty.txt".

    Waiting for your help…

LEAVE A REPLY

Please enter your comment!
Please enter your name here