Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

手动组网搭建Fabric链时执行build.sh报错 #580

Open
wxl0357 opened this issue Jul 17, 2023 · 6 comments
Open

手动组网搭建Fabric链时执行build.sh报错 #580

wxl0357 opened this issue Jul 17, 2023 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@wxl0357
Copy link

wxl0357 commented Jul 17, 2023

BUG描述
手动组网搭建Fabric链时执行build.sh报错

重现方式

  1. 按照文档教程将wecross-demo中fabric文件夹下的所有文件拷贝到~/wecross-networks目录下
  2. 执行cp ./wecross-demo/fabric/* ./
  3. 执行 bash build.sh
  4. 然后报错:build.sh: 行 6: LOG_ERROR: 未找到命令

预期结果
不太清楚是什么原因导致的错误

截图
image

环境

  • 操作系统: [Ubuntu 22.04]
  • 运行库 [java 1.8_271]

更多信息
关于该 BUG 的更多信息

@kyonRay
Copy link
Contributor

kyonRay commented Jul 18, 2023

应该是脚本有bug,可以看一下脚本代码中依赖profile_version.sh脚本,引入到上一级目录即可。

@kyonRay kyonRay added the bug Something isn't working label Jul 18, 2023
@kyonRay kyonRay self-assigned this Jul 18, 2023
@wxl0357
Copy link
Author

wxl0357 commented Jul 18, 2023

好的,非常感谢,按照您提供的方法已经解决了

@jiuhao666
Copy link

哥们,你得wecross搭建成功了吗

@bighu630
Copy link

bighu630 commented Sep 7, 2023

提个pr升级一下呀,我也遇到这个问题了,不过我是直接把这行注释了,它好像就用了一次LOG_ERROR

@kyonRay
Copy link
Contributor

kyonRay commented Sep 7, 2023

参考这个commit修改,或者使用v1.3.1版本的demo
bcd5560

@dantashu
Copy link

好的,非常感谢,按照您提供的方法已经解决了
您好,请问怎么引入上一级目录呢?把文件复制过去吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants