nbb 2025-08-03

I've written a multiplayer server in one file using nbb, deno and datastar. Check it out: https://gre.gorio.ch/projects/multiplayer-tic-tac-toe/multiplayer-tic-tac-toe

🚀 4

@borkdude you're right. Took some fiddling with deno deploy (will blog later), but here we are: https://multi-ttt-134n2qtfaad5.gregorybleiker.deno.net/

anyone feel like a game?

full 😞

did you open 2 tabs?

oh sorry I did...

it's really minimal, isn't it. Thanks for your help

That's awesome! Please share it to #news-and-articles for more exposure :)

Thanks! is it allowed to cross-post?

@borkdude I'm trying to run this on deno.deploy. It gives me

error: Uncaught (in promise) Error: Specifier not found in cache: "", --cached-only is specified.
    at 
Any idea why? I added react and react-dom as npm dependencies.

I have no clue. Are you running with --cached-only?

You can perhaps try:

deno cache 

My suspicion is that deno deploy wants to have everything available in the cache, but nbb uses dynamic imports