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
I'm facing this issue when i run all learnyounode exercises requiring the 'fs' module. I see this issue while running it on the linux(ubuntu 14.04LTS) machine and not in the windows environment.( I have run the exercises successfully on a windows 10 machine).
I feel it is related to the environment setup but i'm not sure. i have installed both the nodejs and the npm packages globally (- g).
node version: 7.9.0
npm version: 4.5.0
os: Ubuntu 14.04 LTS
Error output
93
fs.js:584
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT: no such file or directory, open '93'
at Object.fs.openSync (fs.js:584:18)
at Object.fs.readFileSync (fs.js:491:33)
at Object.<anonymous> (/home/nev/repos/learnode/ex03.js:16:19)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:423:7)
Are you sure you have the correct exercise selected? I see output like that if I try to verify your program for the previous exercise (baby steps), but it works fine for the third exercise (my first i/o!).
Here's what my output looks like:
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT: no such file or directory, open '48'
at Object.fs.openSync (fs.js:558:18)
at Object.fs.readFileSync (fs.js:468:33)
at Object.<anonymous> (/home/cocoa/prog.js:3:19)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:418:7)
Your submission results compared to the expected:
ACTUAL EXPECTED
────────────────────────────────────────────────────────────────────────────────
"48" != "123"
"" == ""
────────────────────────────────────────────────────────────────────────────────
✗ Submission results match expected
# FAIL
Your solution to BABY STEPS didn't pass. Try again!
Issue observed.
I'm facing this issue when i run all learnyounode exercises requiring the 'fs' module. I see this issue while running it on the linux(ubuntu 14.04LTS) machine and not in the windows environment.( I have run the exercises successfully on a windows 10 machine).
I feel it is related to the environment setup but i'm not sure. i have installed both the nodejs and the npm packages globally (- g).
Error output
My Code
The text was updated successfully, but these errors were encountered: