Skip to content

Exercise 4: My First Async I/O - references non-existent file #648

@tree4sax

Description

@tree4sax

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions