I was recently installing the apache age-viewer and I faced this issue. I have tried most of the things and nothing has worked so far. The error came up when I ran the command
npm run setup
Can you actually tell me what have I done wrong while setting up.
I deleted and cloned the repository again and ran the same command but faced same error.
I also thought it was a problem of node but it didn't solve after deleting and reinstalling node.