itsme - how do i fix this? it seems like it exi...
how do i fix this? it seems like it exists on tscircuit.com https://tscircuit.com/Heinrich-XIAO/greenpill.

15 Replies
Hmm you need to set up your npmrc i think
Registry API | tscircuit docs
The tscircuit Registry API is an extension of the NPM Registry API that allows for additional features, such as building Circuit JSON in the cloud, automatic bundling to ESM and CommonJS, and more versioning automations.
Lmk, this should definitely work…
Oh ik whats up
Yea you cant specify the registry as a flag because it only applies to @tsci/*
I believe using “tscircuit add” or “tsci add” also fixes this
running npm config ls -l, it says this:

so, it seems like its already added
also, i have tried tsci add
None of these work??? Thats strange
The —registry flag shouldnt be provided fwiw, it will actually break things
Because packages load from different registries
Do you have a repo i can look at? I will try to repro?
Ty btw
btw,

GitHub
GitHub - Heinrich-XIAO/greenboard: greenboard
greenboard. Contribute to Heinrich-XIAO/greenboard development by creating an account on GitHub.
Thats interesting
Will repro in 1 min
i repro'd

just do
bun add @tsci/Heinrich-XIAO.greenpill
for now, i'll patch the CLImaybe a change with bun

we're also patching this in the future to not throw these type of errors by mirroring the npm registry, i'll take a look at that as well
tysm now it works
yep i already patched the CLI bug 🫡 thanks for reporting 🙏