#5251 pinned @connectrpc/connect-node to v1 in docs/build-apps/setup/node.md because an unpinned install grabs the incompatible Connect-ES v2 line and crashes (found while fixing the TS-sample CI failures in #5119).
The real fix is upstream: the TS SDK needs to move to the v2 line itself. That's tracked in viamrobotics/viam-typescript-sdk#987 ("Bump undici and @connectrpc/connect-node"), currently open.
Docs' own copy of this same Dependabot bump (#5254) was closed for the same reason and will likely recur — close/ignore it until viamrobotics/viam-typescript-sdk#987 merges.
When viamrobotics/viam-typescript-sdk#987 merges:
#5251 pinned
@connectrpc/connect-nodeto v1 indocs/build-apps/setup/node.mdbecause an unpinned install grabs the incompatible Connect-ES v2 line and crashes (found while fixing the TS-sample CI failures in #5119).The real fix is upstream: the TS SDK needs to move to the v2 line itself. That's tracked in viamrobotics/viam-typescript-sdk#987 ("Bump undici and @connectrpc/connect-node"), currently open.
Docs' own copy of this same Dependabot bump (#5254) was closed for the same reason and will likely recur — close/ignore it until viamrobotics/viam-typescript-sdk#987 merges.
When viamrobotics/viam-typescript-sdk#987 merges:
docs/build-apps/setup/node.md@connectrpc/connect-nodein rootpackage.json(currently pinned^1.7.0) — separate from the doc pin aboveconnectNode.createGrpcTransport({ httpVersion: "2", ...opts })against the v2 API in the 4 example files that import@connectrpc/connect-nodedirectly (touched by Replace @koush/wrtc with node-datachannel in TS code samples #5250):static/include/examples/vision/test-vision-methods.tsstatic/include/examples/metadata/add-metadata.tsstatic/include/examples/run-inference/run-vision-service.tsstatic/include/examples/capture-annotate-images/label-images.ts