You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using v7.2.5 our proto project works just fine. But when we are using v7.2.6 the project can not be compiled because of thrown error Error: ENOENT: no such file or directory, open 'src/proto/mirror/basic_types.proto'. We didn't change anything in the protobuf files, they are the same for both version.
I'm seeing the same thing. Interestingly, the "no such file or directory" path given in my error is a truly nonexistent path, merging two different real directories.
I'm seeing the same thing. Interestingly, the "no such file or directory" path given in my error is a truly nonexistent path, merging two different real directories.
I'm experiencing the same issue when I pass a glob like myFolder/**/*.proto: for the first .proto file it works fine, but the moment it tries to read the second it prepends the URI of the previous one.
When using
v7.2.5
our proto project works just fine. But when we are usingv7.2.6
the project can not be compiled because of thrown errorError: ENOENT: no such file or directory, open 'src/proto/mirror/basic_types.proto'
. We didn't change anything in the protobuf files, they are the same for both version.Currently we are limited to using only v7.2.5 because of fix: report missing import properly in loadSync
Reference issue for more details: Build operation does not work as expected.
Steps to reproduce:
git clone git@github.com:hashgraph/hedera-sdk-js.git
cd packages/proto/
pnpm install protobufjs@7.2.6
cd ../../
task build
->Error: ENOENT: no such file or directory, open 'src/proto/mirror/basic_types.proto
protobuf.js version: 7.2.6
The text was updated successfully, but these errors were encountered: