无法基于运行的业务网络生成Angular应用



试图按照指令(https://fabric-composer.github.io/tasks/genapp.html)进行指令时,以基于运行的业务网络生成一个Angular App使用DefaultProfile获取无BOWER.JSON的当前错误。它似乎会生成node_modules目录,但它是空的,但是没有创建Angular-App目录。我能够通过指向文档步骤2中概述的现有BNA文件来生成该应用,但并不理想。有什么想法吗?

jdockter@ubuntu:~$ yo fabric-composer:angular
WARNING: No configurations found in configuration directory:/home/jdockter/config
WARNING: To disable this warning set SUPPRESS_NO_CONFIG_WARNING in the environment.
Welcome to the Angular2 skeleton app generator
? Do you want to connect to a running Business Network? Yes
? What is the name of the application you wish to generate?: angular-app
? Description of the application: Skeleton Fabric Composer Angular2 project
? Author name: Jon Dockter
? Author email: jdockter@us.ibm.com
? What is the Business Network Identifier?: labor-network-model
? What is the Connection Profile to use? defaultProfile
? Enrollment id: WebAppAdmin
? Enrollment Secret: DJY27pEnl16d
Configuring: angular-app
About to connect to a running business network

I'm all done. Running npm install && bower install for you to install the required dependencies. If this fails, try running the command yourself.

npm WARN enoent ENOENT: no such file or directory, open '/home/jdockter/package.json'
npm WARN jdockter No description
npm WARN jdockter No repository field.
npm WARN jdockter No README data
npm WARN jdockter No license field.
bower                           ENOENT No bower.json present
Complete

我创建了此缺陷来跟踪以下内容:https://github.com/fabric-composer/fabric-composer/issues/206

我们将在我们了解更多时立即在此处进行更新。

感谢您的报告。

最新更新