web dev course has been resumed....latest video is coming at 8:00 PM Today Video Link: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE--9l8CBKTx6o.html
i'm getting this error node:internal/fs/utils:348 throw err; ^ Error: ENOENT: no such file or directory, open '-s' at Object.openSync (node:fs:600:3) at Object.readFileSync (node:fs:468:35) at Object. (C:\Users\kshit\Desktop\projects\wcat\wcat.js:34:27) at Module._compile (node:internal/modules/cjs/loader:1159:14) at Module._extensions..js (node:internal/modules/cjs/loader:1213:10) at Module.load (node:internal/modules/cjs/loader:1037:32) at Module._load (node:internal/modules/cjs/loader:878: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: '-s' }
web dev course has been resumed....latest video is coming at 8:00 PM Today Video Link: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE--9l8CBKTx6o.html
So nice of you and If you like our efforts, please upvote the comments written by the students about Pepcoding here (www.quora.com/What-are-the-good-websites-to-learn-data-structures-and-algorithms )
web dev course has been resumed....latest video is coming at 8:00 PM Today Video Link: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE--9l8CBKTx6o.html
web dev course has been resumed....latest video is coming at 8:00 PM Today Video Link: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE--9l8CBKTx6o.html
web dev course has been resumed....latest video is coming at 8:00 PM Today Video Link: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE--9l8CBKTx6o.html
web dev course has been resumed....latest video is coming at 8:00 PM Today Video Link: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE--9l8CBKTx6o.html
Also in your previous video of file management plz check once by running the organise command because after dividing the modules organise is not working which ualso didnt run in the video
web dev course has been resumed....latest video is coming at 8:00 PM Today Video Link: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE--9l8CBKTx6o.html
#!/usr/bin/env node let inputarr = process.argv.slice(2); //console.log("harsh is good boy"); let command = inputarr; //console.log("input",command); let fs = require('fs'); let funarr=[]; let filearr=[]; //console.log(filearr); for(let content in command){ let string= command[content]; let isfile = fs.existsSync(string); if(string == '-s'){ funarr.unshift(string); //console.log("breaking lines buddy"); }else if (string == '-n') { funarr.unshift(string); //console.log("giving numerics to all lines buddy"); }else if(string == '-b') {1 funarr.push(string); //console.log("giving number to non empty line buddy"); } else if(isfile){ filearr.unshift(string); } } console.log("functions",funarr); console.log("files",filearr); let pathexists = fs.existsSync(filearr[0]); console.log(pathexists); for(let file in filearr){ let content =filearr[file]; let samaan = fs.readFileSync(content); let maal = ""+samaan; let tukda = maal.split(" "); console.log(tukda); for(let i=0;i