It's not possible to run it locally
I've followed the instructions to build and run locally, but when I click on "compile" (in the playground) nothing happens. I debugged for 1-2h but gave up. Can you please help me/update the instructions on how to build & run it?
It could be of course that I did something wrong, but given that there are not too many steps, I don't believe I missed anything.
Thanks
I've attempted similar.
the source attempts to load js/script.js from the server using the data domain play.d2lang.com
I tried fetching the aformentioned script,
changing the data domain to something like the hostname (not localhost) and placing the script in the src/js/
This changed the problems; but it doesn't seem to alleviate them.
The script in question is looking for the api/event endpoint, which isn't mentioned in any of the code:
/tmp/d2-playground (master)$ ag -l api/event
/tmp/d2-playground (master)$
so... yeah.. if it helps, at least I can validate that you're not missing something obvious?