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.
So I did that, and I'm working the stack tutorial, and upon doing "stack setup" I got a parse error in config.yaml.
"Error in $.params: failed to parse field 'params', expected Map k a, encountered String"
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:
# This file contains default non-project-specific settings for 'stack', used
# in all projects. For more information about stack's configuration, see
# The following parameters are used by "stack new" to automatically fill fields
# in the cabal config. We recommend uncommenting them and filling them out if
# you intend to use 'stack new'.
templates:
params:
author-name:Dennis
category:programming
copyright:2017
github-username:Dennis