I was start setup the moodle app after cloning it from the repo.
After running the command in terminal "npm setup" I had this error message.
Hi there,
I got a similar error a while ago and it was solved following the instructions in this stackoverflow question.