alox 发表于 2015-2-16 13:45:54

安装PHONEGAP出错


出错的问题是。请高手帮忙看看
Your environment has been set up for using Node.js 0.12.0 (ia32) and npm.

C:\Documents and Settings\Administrator>cmd
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrator>npm install -g phonegap
npm ERR! Windows_NT 5.1.2600
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs
\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "phonegap"
npm ERR! node v0.12.0
npm ERR! npmv2.5.1
npm ERR! path C:\Documents and Settings\Administrator\Application Data\npm-cache
\phonegap\4.2.0-0.24.2\package\package.json
npm ERR! code EPERM
npm ERR! errno -4048

npm ERR! Error: EPERM, rename 'C:\Documents and Settings\Administrator\Applicati
on Data\npm-cache\phonegap\4.2.0-0.24.2\package\package.json'
npm ERR!   at Error (native)
npm ERR!{ [Error: EPERM, rename 'C:\Documents and Settings\Administrator\Appli
cation Data\npm-cache\phonegap\4.2.0-0.24.2\package\package.json']
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   path: 'C:\\Documents and Settings\\Administrator\\Application Data\\n
pm-cache\\phonegap\\4.2.0-0.24.2\\package\\package.json' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! Please include the following file with any support request:
npm ERR!   C:\Documents and Settings\Administrator\npm-debug.log


admin 发表于 2015-2-26 09:55:47

node.js 不知道你安装了没有还有就是 node.js的版本要对   

看看教程PhoneGap3.4安装视频教程地址:

http://bbs.phonegap100.com/thread-668-1-1.html
页: [1]
查看完整版本: 安装PHONEGAP出错