wcygan
wcygan
DDeno
Created by wcygan on 1/20/2025 in #help
Using buf.build SDKs with Deno (and Deno Fresh)
Hi there! I'd like to use buf SDKs in my Deno Fresh project, they are located here: https://buf.build/wcygan/flock/sdks The typical way to accomplish this is like so:
npm config set @buf:registry https://buf.build/gen/npm/v1/
npm install @buf/wcygan_flock.bufbuild_es@latest
npm config set @buf:registry https://buf.build/gen/npm/v1/
npm install @buf/wcygan_flock.bufbuild_es@latest
But I'm unable to replicate this using Deno .npmrc:
@buf:registry=https://buf.build/gen/npm/v1/
@buf:registry=https://buf.build/gen/npm/v1/
Then,
deno add npm:@buf/wcygan_flock.bufbuild_es@latest
error: npm:@buf/wcygan_flock.bufbuild_es was not found.
deno add npm:@buf/wcygan_flock.bufbuild_es@latest
error: npm:@buf/wcygan_flock.bufbuild_es was not found.
4 replies