Hyperledger composer generator:尝试从不存在的源进行复制(不支持Angular的任何概念) [英] Hyperledger composer generator: Trying to copy from a source that doesn't exist (no concepts support for Angular)
问题描述
我有一个在localhost:3000
上运行的composer-rest-server
.为此,我尝试使用yo hyperledger-composer
生成Angular 2应用程序.我的商业网络模型也有一个abstract concept Spray{...}
.
I have a composer-rest-server
running on localhost:3000
. To go with that, I tried to generate an Angular 2 app using yo hyperledger-composer
. My business network models also have a abstract concept Spray{...}
present.
我认为文档已经过时了,因为我看到的选项与文档略有不同.选择Angular并按照步骤进行操作后,我得到了
AssertionError: Trying to copy from source that does not exist ... /concept/concept.component.ts
I believe the documentation is outdated as I was presented with slightly different options than on the documentation. After choosing Angular and following through the steps, I got an
AssertionError: Trying to copy from source that does not exist ... /concept/concept.component.ts
基于一些Google的快速搜索,我能够在他们的Github上找到此问题- https ://github.com/hyperledger/composer/issues/3927 但是,就我而言,我什至无法构建Angular应用程序,因此我什至无法进入编译阶段.
Based on some quick google searches, I was able to find this issue on their Github - https://github.com/hyperledger/composer/issues/3927 however in my case, I am not even able to build the Angular app so I don't even get to the compilation stage.
现在有什么方法可以在应用所在的位置构建该应用吗?
Is there any way to build the app right now where it's at?
推荐答案
我创建了一个Github问题,解释了重现此问题的步骤,还包括一个hacky修补程序,该注释程序将生成器代码中的行注释掉,复制了concept
文件.
I've created a Github issue explaining steps to reproduce this and also included a hacky fix which is to comment out the lines in the generator code which copy over the concept
files.
链接- https://github.com/hyperledger/composer/issues/4328
这篇关于Hyperledger composer generator:尝试从不存在的源进行复制(不支持Angular的任何概念)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!