wcyganW
Denoβ€’12mo agoβ€’
3 replies
wcygan

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


But I'm unable to replicate this using Deno

.npmrc:

@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.
Was this page helpful?