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

[fix] add option --experimental_allow_proto3_optional #1287

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

phuong1492
Copy link

Got this error:

 Compiling nexus-network v0.5.1 (/root/.nexus/network-api/clients/cli)
error: failed to run custom build command for `nexus-network v0.5.1 (/root/.nexus/network-api/clients/cli)`

Caused by:
  process didn't exit successfully: `/root/.nexus/network-api/clients/cli/target/release/build/nexus-network-ea227247c6d5a5fd/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-changed=proto/orchestrator.proto
  cargo:rerun-if-changed=build.rs
  Current dir: "/root/.nexus/network-api/clients/cli"
  Looking for proto file at: "/root/.nexus/network-api/clients/cli/proto/orchestrator.proto"
  protoc is installed and accessible.
  Output directory src/proto exists.
  Error compiling protobuf files: protoc failed: orchestrator.proto: This file contains proto3 optional fields, but --experimental_allow_proto3_optional was not set.

  Error: protoc failed: orchestrator.proto: This file contains proto3 optional fields, but --experimental_allow_proto3_optional was not set.


  --- stderr
  Error: Custom { kind: Other, error: "protoc failed: orchestrator.proto: This file contains proto3 optional fields, but --experimental_allow_proto3_optional was not set.\n" }

Enviroment

Ubuntu 22.04

@aryori
Copy link

aryori commented Feb 19, 2025

how to fix this btw?

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

Successfully merging this pull request may close these issues.

2 participants