T
tscircuit•3w ago
itsme

itsme - image.png

No description
39 Replies
Seve
Seve•3w ago
idk what people were doing where this wasn't exported
itsme
itsmeOP•3w ago
im not sure if my code is just broken, but i'm still getting the error. and i think im on latest
No description
Seve
Seve•3w ago
that should be the right version, one sec, let me see if i can repro
itsme
itsmeOP•3w ago
oh wait i think i might've messed up wait nvm again i think its still broken
Seve
Seve•3w ago
oh lol
itsme
itsmeOP•3w ago
it seems to work on the web version. but it doesn't work locally
Seve
Seve•3w ago
yea i think it's just caching
itsme
itsmeOP•3w ago
yeah prob
Seve
Seve•3w ago
although i think @Rishabh made it so local node_modules should be used in all cases 🤔
itsme
itsmeOP•3w ago
yeah
Seve
Seve•3w ago
is it working now
itsme
itsmeOP•3w ago
kinda the original problem is fixed now but now
Execution Error: Eval compiled js error for "entrypoint.tsx": Nested boards are not supported
@tscircuit/eval@0.0.478
z0@blob:http://localhost:3020/d25b9056-3f49-442a-be77-14ffa6c6da2d:455:827
Execution Error: Eval compiled js error for "entrypoint.tsx": Nested boards are not supported
@tscircuit/eval@0.0.478
z0@blob:http://localhost:3020/d25b9056-3f49-442a-be77-14ffa6c6da2d:455:827
Seve
Seve•3w ago
@Abse did you test the XiaoReceiver? sorry @itsme there must be a board being used in the XiaoReceiver
itsme
itsmeOP•3w ago
import { XiaoBoard } from "./XiaoBoard.circuit" import type { ChipProps } from "@tscircuit/props" export const XiaoReceiver = (props: ChipProps & { children?: any }) => { return <XiaoBoard variant="Receiver" {...props} /> } i think xiaoreceiver is just xiaoboard with a variant
Seve
Seve•3w ago
this is so stupid
itsme
itsmeOP•3w ago
and xiaoboard has a board in it
Abse
Abse•3w ago
Yeah It should only be a group?
Seve
Seve•3w ago
It should be a chip, he's trying to place a xiao component
Abse
Abse•3w ago
Ok I can fix it in 15 min I'm afk sorry for this
Seve
Seve•3w ago
i'm fixing it now
Seve
Seve•3w ago
GitHub
Refine XiaoReceiver by seveibar · Pull Request #54 · tscircuit/co...
Summary mark XiaoReceiver pin labels as a const map for stronger literal inference type XiaoReceiver props with ChipProps so connections are validated Testing bunx tsc --noEmit bun run format ...
Seve
Seve•3w ago
@itsme we'll need for the cdns to update but should be readyish soon @itsme hopefully this is working better now, lmk if you run into any issues, we merged like 4 PRs related to this but I think some of the stuff is still not upstream... the kicad component pin numbers I think @Techmannih might help us get upstream
itsme
itsmeOP•3w ago
https://github.com/tscircuit/common/pull/55 not a big issue but i just added silkscreen outlines for the XiaoReceiver
Seve
Seve•3w ago
yea we can merge if you update the snapshot with tsci snapshot --update
itsme
itsmeOP•3w ago
done how long should i expect to wait to see changes? the silkscreen pr still doesn't seem to be there.
Seve
Seve•3w ago
assuming you've updated locally and the issue is the CDN, generally 30 minutes is about how long it takes it should be live now maybe try a hard refresh of your page with cmd+shift+r
itsme
itsmeOP•3w ago
i tried a hard refresh and incognito mode doesnt seem to be working either
Seve
Seve•3w ago
hmm
Seve
Seve•3w ago
jsdelivr is reporting 0.0.27 is being served https://www.jsdelivr.com/package/npm/@tscircuit/common?tab=files Did you do bun update --latest @tscircuit/common
jsDelivr
@tscircuit/common CDN by jsDelivr - A CDN for npm and GitHub
A free, fast, and reliable CDN for @tscircuit/common. These are community-contributed &quot;common&quot; boards or components distributed with tscircuit
itsme
itsmeOP•3w ago
yeah
itsme
itsmeOP•3w ago
No description
Seve
Seve•3w ago
let me see if ican see it
itsme
itsmeOP•3w ago
Heinrich-XIAO/tsci-split-kbd - tscircuit
This code defines a PCB layout with a 3x5 grid of keys and diodes connected along row and column lines, featuring a XiaoReceiver component interfaced via traced pin connections. For the package "@tsci/Heinrich-XIAO.tsci-split-kbd": Import:
import SplitKbd from "@tsci/Heinrich-XIAO.tsci-split-kbd"
import SplitKbd from "@tsci/Heinrich-XIAO.tsci-split-kbd"
Usage: ```tsx export default () => (...
Seve
Seve•3w ago
yea i reproduced it's the CDN https://cdn.jsdelivr.net/npm/@tscircuit/common/+esm it's returning 0.0.25
Seve
Seve•3w ago
can you do this for now
No description
Seve
Seve•3w ago
there will be a better fix in the future, @Rishabh worked on local node modules loading but i guess it's not working
itsme
itsmeOP•3w ago
it works now.
Seve
Seve•3w ago
sry about that- we will get local module loading working (CC @AyushJ or @Mustafa7 something to get into, probably requires seeing why the CLI isn't uploading these to the file server)

Did you find this page helpful?