2012-12-17 28 views
1

![安裝LDAP客戶端時出錯] [1]當我嘗試在Windows XP系統中安裝LDAP客戶端時。我得到錯誤。 如果我爲LDAP客戶端獲得\ node_modules,任何專家都可以提供運行LDAP客戶端的指導方針/步驟或更有幫助。nodejs - LDAP客戶端安裝錯誤(Window XP機器)

嘗試時:npm install ldapjs

ERR!錯誤回滾[email protected]錯誤:ENOTEMPTY,rmdir'C:\ Documents and Settings \ dilipkumar_s \ node_modules \ ldapjs' ERR!不支持 ERR!與您的node/npm版本不兼容:[email protected] ERR!必需:{「node」:「> = 0.8」} ERR!實際:{「npm」:「1.1.16」,「node」:「0.6.15」} ERR! ERR!系統Windows_NT 5.1.2600 錯誤!命令「C:\ Program Files \ nodejs \\ node.exe」「C:\ Program Files \ nodejs \ node_modules \ npm \ bin \ npm-cli.js」「install」「ldapjs」 ERR! cwd C:\ Documents and Settings \ dilipkumar_s ERR! node -v v0.6.15 ERR! npm -v 1.1.16 ERR!代碼ENOTSUP ERR!消息不支持 ERR!錯誤號{} 冗長出口[1,真]

  1. 當節點被更新到版本8.0得到錯誤用於植酮安裝 d:\工作\節點\ newpoc \ node_modules \ ldapjs \ node_modules \ buffertools>節點「 C:\ Program Files \ nodejs \ node_modules \ npm \ bin \ node-gyp- bin \ .... \ node_modules \ node-gyp \ bin \ node-gyp.js「rebuild gyp ERR!配置錯誤 gyp ERR!堆棧錯誤:找不到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. 植酮後安裝了要求VC++ :\ ExpressApps \ node_modules \ ldapjs \ node_modules \的DTrace提供者>節點「C:\ Program Files文件\節點 小號\ node_modules \故宮\ 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)

回答

0

Not compatible with your version of node/npm: [email protected] ERR! Required: {"node":">=0.8"}手段, 「你需要的Node.js的新版本,至少V0.8」,而它看起來像你正在運行v0.6.15。我建議下載並安裝最新的穩定版本。然後npm install ldapjs應該工作。