我遵循developer guide上的说明,但是当我进行编译时,它失败了,出现了这个错误。"Alice can read all of the assets":
SyntaxError: Failed to parse /Users/calvinlin007/Documents/hyperledger-composer/Users/calvinlin007/Documents/hyperledger-co
在浏览开发人员指南教程时,我一直收到“模块版本不匹配”的错误。我可以完成几乎所有的教程(创建和测试我的业务网络,将其部署到本地fabric,通过rest服务器与其交互),但在运行yeoman创建示例angular应用程序时出现错误...~/git/my-test-network$ yo hyperledger-composer:angular
Welcome to the HyperledgerComposer
card list --name <CardName> to get details of the card
然后,我成功地运行了npm install -gcomposer-cli,试图将composer-cli更新为0.16.2,在经过大量修改之后,将npm config指向python2.7,因为我的主要python是通过anaconda设置的pythonYou must install peer dependencies yourself.
npm</em
我在HyperledgerComposer上创建了一个商业网络,并在Composer playground上进行了测试,效果很好。我可以添加参与者,添加资产,执行交易等。我尝试使用https://hyperledger.github.io/composer/latest/tutorials/developer-tutorial上提供的指南为业务网络生成一个定制的restBrowse your REST API