nodejs - LDAP客户端安装错误(Window XP机器)

时间:2012-12-17 04:44:43

标签: node.js ldap windows-xp

![安装LDAP客户端时出错] [1]当我试图在Windows XP系统中安装LDAP客户端时。我得到错误。 任何专家都可以提供指导/步骤来运行LDAP客户端,或者如果我获得LDAP客户端的\ node_modules会更有帮助。

尝试时:npm install ldapjs

ERR!错误回滚ldapjs@0.5.7错误:ENOTEMPTY,rmdir'C:\ Documents and Settings \ dilipkumar_s \ node_modules \ ldapjs' 呃!不支持 呃!与您的node / npm:pooling@0.3.2版本不兼容 呃!必填:{“node”:“> = 0.8”} 呃!实际:{“npm”:“1.1.16”,“节点”:“0.6.15”} 呃! 呃!系统Windows_NT 5.1.2600 呃!命令“C:\ Program Files \ nodejs \\ node.exe”“C:\ Program Files \ nodejs \ node_modules \ npm \ bin \ npm-cli.js”“install”“ldapjs” 呃! cwd C:\ Documents and Settings \ dilipkumar_s 呃!节点-v v0.6.15 呃! npm -v 1.1.16 呃!代码ENOTSUP 呃!消息不支持 呃! errno {} 详细退出[1,true]

  1. 当节点更新到版本8.0时,phyton安装会出错 D:\ work \ node \ newpoc \ node_modules \ ldapjs \ node_modules \ buffertools> node“C:\ Program Files \ nodejs \ node_modules \ npm \ bin \ node-gyp- bin \ .... \ node_modules \ node-gyp \ bin \ node-gyp.js“rebuild gyp ERR!配置错误 gyp ERR! stack错误:找不到Python可执行文件“python”,可以设置PYTHON env变量。 gyp ERR!在failNoPython堆栈(C:\ Program Files \ nodejs \ node_modules \ npm \ node_modules \ node-gyp \ lib \ configure.js:109:14) gyp ERR!堆栈在C:\ Program Files \ nodejs \ node_modules \ npm \ node_modules \ node-gyp \ lib \ configure.js:78:11 gyp ERR!在Object.oncomplete堆栈(fs.js:297:15) gyp ERR!系统Windows_NT 6.1.7601

  2. phyton安装后要求VC ++ :\ ExpressApps \ node_modules \ ldapjs \ node_modules \ dtrace-provider> node“C:\ Program Files \ node” s \ node_modules \ npm \ bin \ node-gyp-bin \ .... \ node_modules \ node-gyp \ bin \ node-gyp.js“rebuild npm http 304 https://registry.npmjs.org/abbrev gyp ERR!构建错误 gyp ERR!堆栈错误:找不到“msbuild.exe”。你有Microsoft Visual Studio C ++ 201吗? 安装? gyp ERR!堆栈在C:\ Program Files \ nodejs \ node_modules \ npm \ node_modules \ node-gyp \ lib \ bu ld.js:129:20 gyp ERR!堆栈在Object.oncomplete(fs.js:297:15)

1 个答案:

答案 0 :(得分:0)

Not compatible with your version of node/npm: pooling@0.3.2 ERR! Required: {"node":">=0.8"}表示“你需要一个更新版本的node.js,至少是v0.8”,而它看起来好像你正在运行v0.6.15。我建议下载并安装最新的稳定版本。然后npm install ldapjs应该有用。