After installing Xcode & NodeJS I am now trying to install Cordova but I am getting the following error regarding a missing file (wrong path?).
Luciens-MacBo
I had the same issue once with other packages. I had to reinstall node from here https://nodejs.org/en/download/. For me it happened when I tried to install packages globally without sudo, or when I was cancelling some installation package installation process with ctrc+c. After that there was no way to fix it but to reinstall node. I am also on a mac and now really carefull about letting npm do its job...