Am new to this PhoneGap application development when i tried to install phonegap with install (http://phonegap.com/install/) guide from command prompt this says me more error
like
npm ERR! not found: git
npm ERR!
npm ERR! Failed using git.
npm ERR! This is most likely not a problem with npm itself.
npm ERR! Please check if you have git installed and in your PATH.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "phonegap"
npm ERR! cwd C:
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! code ENOGIT
npm ERR! Error: EPERM, open 'C:
pm-debug.log'
npm ERR! { [Error: EPERM, open 'C:
pm-debug.log'] errno: 50, code: 'EPERM', pa
th: 'C:\npm-debug.log' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js " "install" "-g" "phonegap"
npm ERR! cwd C:
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path C:
pm-debug.log
npm ERR! code EPERM
npm ERR! errno 50
npm ERR! stack Error: EPERM, open 'C:
pm-debug.log' npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:
pm-debug.log
npm ERR! not ok code 0
Where as i install Git as well but why this error comes ? and is there any other way to install and work on phonegap ?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…