failed to run custom build command for `nexus-network v0.4.0
Compiling nexus-network v0.4.0 (C:\Users\layvi.nexus\network-api\clients\cli) The following warnings were emitted during compilation:
warning: [email protected]: Failed to run protoc: program not found
error: failed to run custom build command for nexus-network v0.4.0 (C:\Users\layvi\.nexus\network-api\clients\cli)
Caused by:
process didn't exit successfully: C:\Users\layvi\.nexus\network-api\clients\cli\target\release\build\nexus-network-a3fffeb85525b117\build-script-build (exit code: 1)
--- stdout
cargo:warning=Failed to run protoc: program not found
--- stderr Error: Error { kind: NotFound, message: "program not found" } curl: (6) Could not resolve host: sh
It looks like you are running this program directly in Windows. You should try installing and running it again through WSL (Windows Subsystem for Linux). You can follow the official guide at: https://learn.microsoft.com/en-us/windows/wsl/install.
My server is running on linux, ubuntu 22.04. I have the same problem. What could be the solution to the problem?
My server is running on linux, ubuntu 22.04. I have the same problem. What could be the solution to the problem?
have you installed this package before? apt install protobuf-compiler -y
If it still doesn't work, Install New Version of Protoc Manually curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-x86_64.zip unzip protoc-21.12-linux-x86_64.zip -d /usr/local/protoc echo 'export PATH=/usr/local/protoc/bin:$PATH' >> ~/.bashrc source ~/.bashrc
try it, and run again. good luck
Yes. After installing this package the problem is solved. Thanks for the reply.
My server is running on linux, ubuntu 22.04. I have the same problem. What could be the solution to the problem?
have you installed this package before? apt install protobuf-compiler -y
If it still doesn't work, Install New Version of Protoc Manually curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-x86_64.zip unzip protoc-21.12-linux-x86_64.zip -d /usr/local/protoc echo 'export PATH=/usr/local/protoc/bin:$PATH' >> ~/.bashrc source ~/.bashrc
try it, and run again. good luck
I'm using macos sonoma 14.7 and it has an error that doesn't work
My server is running on linux, ubuntu 22.04. I have the same problem. What could be the solution to the problem?
have you installed this package before? apt install protobuf-compiler -y If it still doesn't work, Install New Version of Protoc Manually curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-x86_64.zip unzip protoc-21.12-linux-x86_64.zip -d /usr/local/protoc echo 'export PATH=/usr/local/protoc/bin:$PATH' >> ~/.bashrc source ~/.bashrc try it, and run again. good luck
I'm using macos sonoma 14.7 and it has an error that doesn't work
for macos you can try use this version curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-osx-x86_64.zip unzip protoc-21.12-osx-x86_64.zip -d /usr/local/protoc echo 'export PATH=/usr/local/protoc/bin:$PATH' >> ~/.zshrc source ~/.zshrc chmod +x /usr/local/protoc/bin/protoc
My server is running on linux, ubuntu 22.04. I have the same problem. What could be the solution to the problem?
have you installed this package before? apt install protobuf-compiler -y If it still doesn't work, Install New Version of Protoc Manually curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-x86_64.zip unzip protoc-21.12-linux-x86_64.zip -d /usr/local/protoc echo 'export PATH=/usr/local/protoc/bin:$PATH' >> ~/.bashrc source ~/.bashrc try it, and run again. good luck
I'm using macos sonoma 14.7 and it has an error that doesn't work
for macos you can try use this version curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-osx-x86_64.zip unzip protoc-21.12-osx-x86_64.zip -d /usr/local/protoc echo 'export PATH=/usr/local/protoc/bin:$PATH' >> ~/.zshrc source ~/.zshrc chmod +x /usr/local/protoc/bin/protoc tôi đang chạy và bị lỗi như vậy Archive: protoc-21.12-osx-x86_64.zip checkdir: cannot create extraction directory: /usr/local/protoc Permission denied
My server is running on linux, ubuntu 22.04. I have the same problem. What could be the solution to the problem?
have you installed this package before? apt install protobuf-compiler -y If it still doesn't work, Install New Version of Protoc Manually curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-x86_64.zip unzip protoc-21.12-linux-x86_64.zip -d /usr/local/protoc echo 'export PATH=/usr/local/protoc/bin:$PATH' >> ~/.bashrc source ~/.bashrc try it, and run again. good luck
I'm using macos sonoma 14.7 and it has an error that doesn't work
for macos you can try use this version curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-osx-x86_64.zip unzip protoc-21.12-osx-x86_64.zip -d /usr/local/protoc echo 'export PATH=/usr/local/protoc/bin:$PATH' >> ~/.zshrc source ~/.zshrc chmod +x /usr/local/protoc/bin/protoc
i am running and it shows error like this
My server is running on linux, ubuntu 22.04. I have the same problem. What could be the solution to the problem?
have you installed this package before? apt install protobuf-compiler -y
If it still doesn't work, Install New Version of Protoc Manually curl -LO protocolbuffers/protobuf@
v21.12protoc-21.12-linux-x86_64.zip (download) unzip protoc-21.12-linux-x86_64.zip -d /usr/local/protoc echo 'export PATH=/usr/local/protoc/bin:$PATH' >> ~/.bashrc source ~/.bashrctry it, and run again. good luck
Thanks this helped!