问题
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.
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
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?
回答1:
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.
Link - https://github.com/hyperledger/composer/issues/4328
来源:https://stackoverflow.com/questions/51774093/hyperledger-composer-generator-trying-to-copy-from-a-source-that-doesnt-exist