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

nem2-cli のプロファイル設定が必要? #1

Closed
fukuro2506 opened this issue Mar 28, 2019 · 4 comments
Closed

nem2-cli のプロファイル設定が必要? #1

fukuro2506 opened this issue Mar 28, 2019 · 4 comments

Comments

@fukuro2506
Copy link

以下でエラーが発生。
profile の作成が必要でしょうか?

$ nem2-cli monitor block
ERR To start using the nem2-cli create a default profile using: nem2-cli profile create --privatekey your_private_key --network network --url http://localhost:3000.
@44uk
Copy link
Owner

44uk commented Mar 28, 2019

プロファイルの指定が必要です。ドキュメント通りであれば --profile alice とすれば良いです。
--profile をつけなかった場合は--profile defaultとした場合と同じ動きになり、
上記の場合はdefaultという名前のプロファイルがなかったためです。
指定がめんどくさいようであればaliceではなくdefaultとしてしまってもいいと思います。

@fukuro2506
Copy link
Author

ありがとうございます。
defaultprofileを作成してできました。
aliceも用意されているのですね。確認してみます。

@44uk
Copy link
Owner

44uk commented Mar 31, 2019

すみません、もしかすると私が意図を読み取りそこねていたかもしれません。
ドキュメント通りの進め方だとプロファイルがまだ作成されていないため、
手順通りだとエラーになるケースがあるようですね。
修正していきます。ありがとうございました。

@fukuro2506
Copy link
Author

はい、そうです。私も明確に伝えればよかったですね。
修正よろしくお願いします。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants