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 found this problem on Fedora Core 22 too when install latest Apache Cordova ( version 6.0.0 ) the problem may npm miss something about permission check when install with sudo npm install -g cordova
.
npm ERR! enoent ENOENT, rename '/lib/node_modules/.staging/abbrev-cxxxxxx'
npm ERR! enoent ENOENT, rename '/lib/node_modules/.staging/abbrev-xxxxxxx'
So solve this problem with run as root ( sudo -s
) and run npm install -g cordova
again the problem will solve. ( In my environment ).
For my environment ( Fedora core 22 ) it does not need to reinstall node from nodejs.org