Intermediate JavaScript Promises error

Hi, I keep getting the same error while doing the exercises in the ‘Learn Intermediate Javascript’-course, in the Codecademy-environment. I hope somebody can help me out. Thanks in advance!

This is the error:

node app.js
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
cwd = process.cwd();

Error: ENOENT: no such file or directory, uv_cwd
at Object.resolve (path.js:1142:25)
at startup (bootstrap_node.js:129:32)
at bootstrap_node.js:542:3

Perhaps restarting the bash terminal may remove the error message.

See this comment:

That works. Still don’t understand why the error occurs though, and what it means. Looks like the bash terminal can’t handle any changes to the script…

Thanks a lot!

1 Like

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.