<div dir="ltr">Now I'm trying to use stack to install and run GCHJS. Can someone help me figure out this error?<div><br></div><div>I first created project 'proj01' using the ghcjs template via</div><div><br></div><div>    stack new proj01 ghcjs</div><div><br></div><div>Then I typed </div><div><br></div><div>    stack build</div><div><br></div><div>It ran for a while, then gave an error messages that starts</div><div><br></div><div>    "While building custom Setup.hs for package semigroupoids-5.0.0.4 using .... <very long description>, Process exited with code ExitFailure 1"</div><div><br></div><div>But it didn't halt. Instead it started compiling Main.hs, and ended up saying</div><div><br></div><div>"at least the following dependencies are missing: tagged >= 0.8.5 && <1 && ==0.8.1"</div><div><br></div><div>I tried adding "tagged" to the extra-deps in the stack.yaml, but it didn't help.</div><div><br></div><div>While I'm posting, is there a resource that explains background to this? I don't know much about "packages," "snapshots," "dependencies", means of specifying versions, cabal, or YAML files. Everything I find online seems to assume some background knowledge of these things. For instance the stack documentation talks about snapshots, but I can't find an explanation that I understand for what a "snapshot" actually is. Ditto for all these many concepts that go into configuring and building. </div><div><br></div><div>D</div><div><br></div><div><br></div><div><br></div></div>