在Hyperledger网格上创建组织给我这个错误

发布于 2025-01-18 02:31:25 字数 845 浏览 1 评论 0 原文

正如我在标题上提到的那样,我想在Hyperledger网格上创建一个组织,基本上我是在Splinter上运行的,而不是锯齿 因此,在教程上,我只想测试命令后,我面临此错误: “错误:发现的参数'123 Main Street',这不是预期的,或者在这种情况下没有有效的参数” 这将Adress的“ 123 Main Street”视为一个争论,这是不期望的。 我试图遵循-HELP上的结构,但是我遇到了同样的错误。

错误: https://j.top4top.io/p_2280sl.p_2280sl

. https://l.top4top.io/p_2280khj412.png

我刚刚遵循此链接上的教程: httpps:htttps:// grid。 hyperledger.org/docs/0.1/creating_organizations.html#display-organizatization-and-agents

As I mentioned on the title, I would like to create an organization on Hyperledger Grid, basically I'm running on Splinter not a sawtooth,
So after fllowing the commands on the tutorial I'm just wanna test, I faced this error:
"error: Found argument '123 main street' which wasn't expected, or isn't valid in this context"
That takes the adress '123 main street' as an argument and it's wasn't expected.
I tried to follow the structure on the --help, But I got the same Error.

Error: https://j.top4top.io/p_2280sldhn1.png

Running docker on splinter: https://l.top4top.io/p_2280khj412.png

I just followed the guide of the tutorial here on this link: https://grid.hyperledger.org/docs/0.1/creating_organizations.html#display-organizations-and-agents

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

a√萤火虫的光℡ 2025-01-25 02:31:25

有几件事:
首先,您发布的链接适用于版本 0.1,而现在已经发布了 0.3 版本。
https://grid.hyperledger.org/docs/0.3/using_pike.html
如果你滚动到我提到的那个页面,那里有创建组织的说明,你会发现它略有不同。我自己就碰过那堵墙。
简而言之,首先创建没有任何详细信息的组织,然后您可以使用您需要的任何内容(例如地址等)更新该组织...

grid organization create myorg MyOrganization

然后您可以更新它:

 grid organization update myorg MyOrganization --locations 'somewhere street 123, NY'

我希望这有帮助

there are a couple of things:
firstly, the link that you posted is for version 0.1, while there is 0.3 now out.
https://grid.hyperledger.org/docs/0.3/using_pike.html
if you scroll to about have that page that I have mentioned, there is the instruction for creating an organisation, and you will see that it is slightly different. I have hit that wall myself.
In short, first create your org without any details, and then you can update that org with anything you need, like address, etc...

grid organization create myorg MyOrganization

and then you can update it so:

 grid organization update myorg MyOrganization --locations 'somewhere street 123, NY'

I hope this helps

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文