learnyounode is supposed to pass a file path in process.argv[2], but if I write my script so that it prints out that value, I get something like this
/var/folders/3t/l2k6cfvj1_b952z02bsq3zrm0000gn/T/_learnyounode_97767.txt
with a different filename generated each time. But my result comes back undefined, and the file does not exist when I go to look for it. I have tried re-installing learnyounode but that didn't help.
learnyounode is supposed to pass a file path in
process.argv[2]
, but if I write my script so that it prints out that value, I get something like this/var/folders/3t/l2k6cfvj1_b952z02bsq3zrm0000gn/T/_learnyounode_97767.txt
with a different filename generated each time. But my result comes backundefined
, and the file does not exist when I go to look for it. I have tried re-installing learnyounode but that didn't help.