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

sudo dotnet run, 未包含“MergeFrom”的定义,并且找不到可接受第一个“MapField<string, ByteString>”类型参数的可访问扩展方法 #3533

Open
MengZhaoFly opened this issue Mar 3, 2024 · 1 comment

Comments

@MengZhaoFly
Copy link

Describe the bug
i just follow the doc:https://docs.aelf.io/en/latest/getting_started/development-environment/node.html#single-node
when i config appsetting.json and Run a Single Node(sudo dotnet run)。
it fail。
To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
same as doc

Screenshots
image

Environment (please complete the following information):

  • OS and version: mac os 13.6
  • Dotnet core version:6.0.419

Additional context
Add any other context about the problem here.

@eanzhao
Copy link
Contributor

eanzhao commented Apr 29, 2024

Perhaps due to your protobuf version.
Try to uninstall your protobuf if you're using Homebrew:

brew uninstall protobuf

Then install another version:

brew install protobuf@3
echo 'export PATH="/opt/homebrew/opt/protobuf@3/bin:$PATH"' >> ~/.zshrc

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