2017-09-21 17 views
0

我跟着鏈接instrunctions - https://hyperledger.github.io/composer/installing/using-playground-locally.html無法使用Hyper臺賬作曲遊樂場本地

指令後: curl -sSL https://hyperledger.github.io/composer/install-hlfv1.sh | bash 成功執行,則http://localhost:8080/還沒有上市。

我是新來這個,請幫助我是缺少在這裏。

錯誤:

我得到上述錯誤在運行composer.sh

# Create the channel 
docker exec peer0.org1.example.com peer channel create -o orderer.example.com:7050 -c composerchannel -f /etc/hyperledger/configtx/composer-channel.tx 
2017-09-21 14:19:42.131 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP 
2017-09-21 14:19:42.131 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity 
2017-09-21 14:19:42.132 UTC [channelCmd] InitCmdFactory -> INFO 003 Endorser and orderer connections initialized 
Error: channel create configuration tx file not found open C:/Users/26266/AppData/Local/Programs/Git/etc/hyperledger/configtx/composer-channel.tx: no such file or directory 
Usage: 

上述文件不可用的位置,我手動檢查

OR

或以下錯誤

ARCH=$ARCH docker-compose -f "${DIR}"/composer/docker-compose.yml down 
.IOError: [Errno 2] No such file or directory: u'/e/docker_H/composer-data/fabric-dev-servers/fabric-scripts/hlfv1/composer/docker-compose.yml' 

我檢查中,上述文件是存在於該位置。

+0

是否可以從運行curl命令提供輸出請。 –

+0

我在問題中添加了錯誤,請指導。 – Atreyee

回答

0

您是否可以複製當您運行卷曲時在控制檯中獲得的輸出?-sSL https://hyperledger.github.io/composer/install-hlfv1.sh | bash

此腳本實際上並不在機器中正確「運行」,而是在Docker容器中運行。

它下載所有需要的容器,需要的代碼並將這些容器作爲守護進程啓動。然而,它希望你有安裝在機器中,它的工作泊塢窗泊塢窗&,撰寫的一個相對較新的版本。

嘗試在第一次運行腳本的文件夾中運行./composer.sh命令。如果你的機器有正確的安裝要求,這應該可以工作。否則只是發佈你遇到的錯誤。確切的網址,你應該能夠打開是http://localhost:8080/editor

+0

收到錯誤一次我跑composer.sh 'ARCH = $ ARCH搬運工-撰寫-f 「$ {DIR}」/作曲家/搬運工-compose.yml向下 .IOError:[錯誤2]沒有這樣的文件或目錄:u'/ e/docker_H/composer-data/fabric-dev-servers/fabric-scripts/hlfv1/composer/docker-compose.yml'' 雖然這個文件與它檢查的路徑完全相同。 我在gitbash以管理員身份運行命令 – Atreyee

3

我看你是想在Windows上運行此,不幸的是,試圖讓運行在Windows hyperledger作曲家的所有部分(甚至在GIT的bash shell)很多問題所以不幸的是windows並不是一個支持的平臺。我會建議使用Virtualbox和運行作曲家的設置一個Linux虛擬機。

0

如果您使用的是Windows 7並使用Docker Toolbox,請從docker終端運行該命令。