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
Thanks for filing the issue. Can you share you lock file? package-lock.json, or pnpm-lock.yaml, or yarn.lock?
The dependency information from package.json is not enough. It only includes version constraints, and doesn't show if there are any peer dependency problems.
The generated content is running in a container and the versions are strict:
FROM +node
COPY --dir ./proto ./proto
COPY --dir ./vendor-proto ./vendor-proto
RUN npm i @bufbuild/[email protected] @bufbuild/[email protected] @bufbuild/[email protected]
DO +GENERATE_BUF_WORK_YAML
RUN npx @bufbuild/buf generate ./vendor-proto --template ./vendor-proto/buf.gen.js-sdk.yaml
WORKDIR /src/proto
RUN npx @bufbuild/buf build . -o ./descriptorset.binpb
RUN npx @bufbuild/buf generate ./descriptorset-filtered.binpb --template ./buf.gen.js-sdk.yaml
SAVE ARTIFACT /src/genproto/js-sdk/* AS LOCAL ./genproto/js-sdk/
You should use @bufbuild/[email protected] with @bufbuild/[email protected], but this is not the issue. There is an older version of @bufbuild/protobuf in play here.
Is the language server of your IDE running in the same container? It's picking up a different version of @bufbuild/protobuf. Looks like it's 2.0.0-beta.2 or an earlier pre-release.
Continuing this discussion here:
Hi, after changing to createClient, we don't get auto complete anymore 🤔
What am I doing wrong?
The text was updated successfully, but these errors were encountered: