<div dir="ltr">A year ago I tried to install stack on my MacBook. Just recently I tried again, and it asked me if I wanted to upgrade rather than install. I did so, but got an error (some message from GHC saying 'the thing that should never happen, happened' or something like that). So I thought, okay let me try uninstalling stack first, then installing it, and going from there.<div><br></div><div>So I did that, and I'm working the stack tutorial, and upon doing "stack setup" I got a parse error in config.yaml.</div><div><br></div><div>   "Error in $.params: failed to parse field 'params', expected Map k a, encountered String"</div><div><br></div><div>As far as the question of where I got my config.yaml from, I edited something that was there to add some specific information, but I am not sure if I changed anything else. Here is the config.yaml that produces the above error:</div><div><br></div><div><div># This file contains default non-project-specific settings for 'stack', used</div><div># in all projects.  For more information about stack's configuration, see</div><div># <a href="http://docs.haskellstack.org/en/stable/yaml_configuration/">http://docs.haskellstack.org/en/stable/yaml_configuration/</a></div><div><br></div><div># The following parameters are used by "stack new" to automatically fill fields</div><div># in the cabal config. We recommend uncommenting them and filling them out if</div><div># you intend to use 'stack new'.</div><div># See <a href="https://docs.haskellstack.org/en/stable/yaml_configuration/#templates">https://docs.haskellstack.org/en/stable/yaml_configuration/#templates</a></div><div>templates:</div><div>  params:</div><div>    author-name:Dennis</div><div>    <a href="mailto:author-email%3Adennisraddle@gmail.com">author-email:dennisraddle@gmail.com</a></div><div>    category:programming</div><div>    copyright:2017</div><div>    github-username:Dennis</div></div><div><br></div></div>