Skip to content
New issue

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

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

Already on GitHub? # to your account

I have this message error #1

Open
HunTEH4 opened this issue Feb 20, 2025 · 1 comment
Open

I have this message error #1

HunTEH4 opened this issue Feb 20, 2025 · 1 comment

Comments

@HunTEH4
Copy link

HunTEH4 commented Feb 20, 2025

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

Caused by:
process didn't exit successfully: /root/.nexus/network-api/clients/cli/target/release/build/nexus-network-8c54f0d68a838e59/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" }
warning: build failed, waiting for other jobs to finish...
root@vmi2193131:~#image

@SKaaalper
Copy link
Owner

try this command

PROTOC_VERSION=25.2
wget https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip
sudo unzip -o protoc-${PROTOC_VERSION}-linux-x86_64.zip -d /usr/local
rm protoc-${PROTOC_VERSION}-linux-x86_64.zip

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

No branches or pull requests

2 participants