Error with Protobuf installing during setup (protoc failed: Unknown flag: --experimental_allow_proto3_optional\n)
Error with Protobuf installing during setup:
Compiling nexus-network v0.4.0 (/root/.nexus/network-api/clients/cli)
error: failed to run custom build command for `nexus-network v0.4.0 (/root/.nexus/network-api/clients/cli)`
Caused by:
process didn't exit successfully: `/root/.nexus/network-api/clients/cli/target/release/build/nexus-network-a507b54e20e4ba46/build-script-build` (exit status: 1)
--- stderr
Error: Custom { kind: Other, error: "protoc failed: Unknown flag: --experimental_allow_proto3_optional\n" }
Found Fix the issue:
Step 1: Remove Any Old Extracted Files If there are any leftover extracted files, let's clean them up first.
rm -rf protoc-3.12.0-linux-x86_64 Step 2: Re-Extract the Zip File Since the protoc-3.12.0-linux-x86_64.zip file is present, let's unzip it again.
unzip -o protoc-3.12.0-linux-x86_64.zip The -o flag will automatically overwrite any existing files without prompting.
Step 3: Verify the Contents Once you’ve extracted the files, check the contents of the extracted directory:
ls protoc-3.12.0-linux-x86_64 This should show the bin/ and include/ directories. If everything looks good, you should see something like this:
bin/ include/ readme.txt Step 4: Move the protoc Binary Now, move the protoc binary to /usr/local/bin/:
sudo mv protoc-3.12.0-linux-x86_64/bin/protoc /usr/local/bin/ Step 5: Move the Include Files Move the include/ directory files to /usr/local/include/:
sudo mv protoc-3.12.0-linux-x86_64/include/* /usr/local/include/ Step 6: Verify the Installation Finally, check that protoc is installed correctly:
protoc --version You should see: libprotoc 3.12.0 and start installation again.
if didn't work as above method, then try #111
which apps I need to use this can you tell me please
which apps I need to use this can you tell me please
just read #111 carefully, you will know how to solve this