-
Notifications
You must be signed in to change notification settings - Fork 146
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
Build operation does not work as expected #2143
Comments
Hi @Neurone. Me and @svetoslav-nikol0v both tried to reproduce the problem but for our cases the problem doesn't occur. Can you give us more context on what exactly are you trying to do and why. Also a step by step guide would be very useful. From my side what I did
|
Hi @agadzhalov I'm trying to build the SDK. The steps I followed and the error are in the description. I think the problem is in the import to the proto files. Did you try from a clean repo? |
I found the problem and probably the reason you don't see it if you are on Linux. I suspect this is also the reason behind some strange behaviors we are experiencing recently (i.e., #2140 or #2138).
|
From what I understood it works for you on Ubuntu, but it fails with macOS? Is that correct? Also I've tried to reproduce it on macOS, but still couldn't. Following these steps can you tell me if I am missing something to reproduce it?
|
Yes, I can build on Ubuntu if I use protobufjs@7.2.5, but I cannot build on Ubuntu nor MacOS if I update to protobufjs@7.2.6. If I move back to protobufjs@7.2.5 I can build also on MacOS, and that means we are building the protobufs not correctly. To apply the change, it you need to install the dependency from the |
Thank you for the detailed explanation, we managed to reproduce it. Soon we will start investigating it |
Description
When running
task build
the process stop when searching forsrc/proto/mirror/basic_types.proto
.That files is actually not in that folder, and it is instead in
src/proto/serivces/basic_types.proto
. I assume the problem is with the import done bysrc/proto/mirror/consensus_service.proto
.Steps to reproduce
Additional context
❯ nvm --version 0.39.1 ❯ npm --version 10.2.4 ❯ node --version v18.19.1 ❯ task --version Task version: v3.34.1 (h1:yAAxUM54zoaHv+OtDnGgkWSVeiRuaOCn1lPUXPQQA0o=) ❯ uname -a Darwin mcfly.local 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:27 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T8103 arm64
Hedera network
other
Version
v2.41.0
Operating system
macOS
The text was updated successfully, but these errors were encountered: