I want to install the Phonegap on my Ubuntu15.10 os but after executing phonegap installation i got the following error :
npm ERR! Linux 4.2.0-19-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "phonegap"
npm ERR! node v5.6.0
npm ERR! npm v3.6.0
npm ERR! path /usr/local/lib/node_modules/.staging/balanced-match-45910c53
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/balanced-match-45910c53' -> '/usr/local/lib/node_modules/phonegap/node_modules/cordova-lib/node_modules/balanced-match'
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/balanced-match-45910c53' -> '/usr/local/lib/node_modules/phonegap/node_modules/cordova-lib/node_modules/balanced-match'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /home/aarzoo/npm-debug.log
npm ERR! code 1
Please help to me resolve this issues as I am beginner.
First remove the all previous install application with following command and try to with once again by following this link.
Here application_name replace by your install application name.
Please if any issues comment to here.
Hope this will help You.