Open jCOTINEAU opened 2 months ago
I've not done anything with docker before but the general feeling I'm getting is that you're heading in the wrong direction.
That error suggests you're trying to use the wrong compiler - dart has several different target platforms and the html library is only available on the web one which compiles to javascript.
I use the official dart plugin for IntelliJ stuff, with IDEA Community edition since it's free. The plugin points to a dart install and handles all the deps and compilation stuff when you tell it to build. The resulting output in the build folder can just be plopped wholesale onto a web server, as it's just the usual website structure of html/css/js.
The dart website has a decent guide to the different compilers and such.
In terms of SDK which version do you use, so that I replicate closer to your setup ?
It was a while ago, by the looks of the pubspec.yaml it was around 2.2.x territory
Hello @TTFTCUTS, i wanted to give you a huge thanks for this project, it works like a charm and calculating the probability that way is very elegant.
Nonetheless, I wanted to build it locally with docker but faced some issues.
Error: Dart library 'dart:html' is not available on this platform.
when trying to use dart run web/main.dartI am not familiar with dart but the error is pretty explicit and happens a lot with Mac M1.
Anyway, my goal is to actually rework the dice system, keeping the color logic and behavior but tweaking the number of icons per face so that the probabilities are less biased towards characteristics. this is because I really love the narrative system but it has been wrongly designed (there are very good articles about this I could post here if you want)
Please let me know if you would be interested in working on this topic together?
thanks again for the tool, cheers!