Cannot build a hello world program with Stack because of flag bytestring--lt-0_10_4
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: With a bare "hello world" project generated by stack new myproject simple whenever I run stack setup , stack init or stack build I have the following error all the time: Downloading lts-10.0 build plan Downloaded lts-10.0 build plan. AesonException "Error in $.packages.cassava.constraints.flags['bytestring--lt-0_10_4']: Invalid flag name: \"bytestring--lt-0_10_4\"" I saw some guys talk about the issue, and argue about whether it is accepted or not to have two sequential - in a flag name, that it is the fault of stack or cassava or cabal etc.