Node app.js gives me an error when try to run the code

node app.js returns things like “error retrieving current directory” “could not access parent director” “no such file or directory”

I’m not sure why this is happening. “node app.js” worked a few times before, but now when I try to run my program, it just gives me errors.

Anyone else experienced this or know how to fix this issue?

Here is a link the the section where this keeps happening.

(https://www.codecademy.com/courses/introduction-to-javascript/lessons/promises/exercises/promise-all)

It worked fine for me, check you files maybe something has been deleted by mistake.
Also you can try copying your code to your code editor, and resetting the exercise and pasting your code back and try to run the app.js in the terminal again.Let me know if this works for you.

thanks man worked for me