我想爲程序部件XBee ZigBee Cloud Kit。npm install:'bower install'退出,出現錯誤代碼1
要做到這一點,我需要先設置一切。 我使用的是guide。
在重複失敗自動設置後,我開始了手動設置。我確實安裝了要求。所以一切都很順利,直到最後一點:npm install
。我收到以下錯誤bower install' exited with error code 1
。我不知道該怎麼做,我不習慣PowerShell或其他任何shell。 失敗的安裝後,我得到這個錯誤:
bower justgauge#* ECMDERR Failed to execute "git ls-remote --tags --heads git://github.c om/oscarcv/justgage.git", exit code of #128 fatal: remote error:
Repository not found.Additional error details: fatal: remote error: Repository not found.
'bower install' exited with error code 1
npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "i nstall"
npm ERR! node v0.12.4
npm ERR! npm v2.10.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall:
node postinstall.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'node postinstall.js'.
npm ERR! This is most likely a problem with the xbee-zigbee-cloud-kit package,
npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system:
npm ERR! node postinstall.js npm ERR! You can get their info via:
npm ERR! npm owner ls xbee-zigbee-cloud-kit
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\steim\Desktop\XBeeZigBeeCloudKit-master\npm-debug.log
「這是最有可能的的XBee-ZigBee的雲套件包有問題」
如果這是真的,在這種情況下,我不知道該怎麼做,因爲我使用這個軟件包。
這是npm-debug.log。 (對不起,我不能發佈整個日誌,太多的字符)。
我用公司的筆記本電腦:
- Latitude D820的
- 的Windows 7 32位
- 的Windows PowerShell與管理
我對任何形式的幫助表示感謝。試圖弄清楚我頭痛。
'git:// github.com/oscarcv/justgage.git'版本庫不存在。我不確定'bower'是從哪裏獲得的,但需要更新才能使用存在的存儲庫。 –
感謝您的回答,我在'git:// github.com/oscarcv/justgage.git'上寫了'oscarcv',詢問他是否刪除了這些數據。如果這有幫助,我會把答案作爲:) – Steinfeld
我可以更改'bower'中的鏈接嗎? 例如,對於'git:// github.com/oscarcv/justgage.git',我會嘗試使用'git:// https:// github.com/toorshia/justgage.git'。我甚至不確定它是否可以像這樣工作。 – Steinfeld