In no particular order:
All these tutorials assume you are using the latest stable version of Hakyll. If this is not the case, you might want to update using:
$ ghc-pkg unregister hakyll $ cabal update $ cabal install hakyll