我想創建一個服務器鮑爾(從節點js使用私人涼亭)。 我認爲,問題來自TFS驗證(https://tfs.companyname.yyy/tfs/xxxxx)。 此服務器用於驗證基本身份驗證。鮑爾+私人涼亭+ TFS(自我託管)與身份驗證
這是我在互聯網上所瞭解的。
- 用您的源文件創建一個git回購。
- 將它推送到服務器。
- 創建.bowerrc => {「註冊表」:「http://serverName:port」}(我使用本地主機的時刻)
- 執行命令(現在也怪我)登記在Git中你的證書:git的LS- remote --tags --heads「https:// tfs.companyname.yyy/tfs/xxx」
- 執行命令 「bower register package-name-here」git + https:// tfs.companyname.yyy/TFS/XXX」
我困在這裏不理解的問題 的錯誤是:
bower package-name-here#* resolve https:// tfs.companyname.yyy/tfs/xxx#*
bower package-name-here#* ECMDERR Failed to execute "git ls-remote --tags --heads https:// tfs.companyname.yyy/tfs/xxx", exit code of #128 bash: /dev/tty: No such device or address error: failed to execute prompt script (exit code 1) fatal: could not read Username for 'https:// tfs.companyname.yyy': Invalid argument
Additional error details: bash: /dev/tty: No such device or address error: failed to execute prompt script (exit code 1) fatal: could not read Username for 'https:// tfs.companyname.yyy': Invalid argument
這是一個自託管TFS和URL是不是我認爲這個問題將其刪除。 Visual Studio在Bower服務器的工具中必須有一個硬編碼的url。因爲它沒有使用.bowerrc文件中的那個。 – Lenny32