使用 Haskell Stack 创建新项目时出错

Error creating new project with Haskell Stack

现在我无法在我的文件系统中的任何地方执行 stack new my-project。当我这样做时,我得到

| => stack new my-project
Downloading template "new-template" to create project "my-project" in my-project/ ...

Looking for .cabal or package.yaml files to use to init the project.
Using cabal packages:
- my-project/my-project.cabal

Selecting the best among 12 snapshots...

Downloaded lts-10.2 build plan.
AesonException "Error in $.packages.cassava.constraints.flags['bytestring--lt-0_10_4']: Invalid flag name: \"bytestring--lt-0_10_4\""

这使我无法设置和构建项目:

| => cd my-project; stack build
Error parsing targets: The specified targets matched no packages.
Perhaps you need to run 'stack init'?

我有 Stack 版本 1.5.1 和 GHC 8.0.2。是什么原因造成的?我真的很茫然。我没有在网上找到任何与我所描述的类似的文档。

https://github.com/fpco/stackage/issues/2759相同。
将堆栈升级到 v1.6.1