Don't worry this is a very common problem, due to a bug in cabal. Just delete that /Users/A/.ghc/x86_64-darwin-8.8.4/environments/default it mentions and install the tidal library again. Or edit that file to remove the duplicated entries for tidal.
You can avoid this bug by always using cabal v1-install tidal to install the tidal library, instead of the more modern (and more broken) cabal install tidal --lib.
I deleted all I could and reinstalled everything once again. Now it works and I can get sound out despite that it still gives the following errors (when code is executed the first time) in red colour in the atom editor terminal:
t> Loaded package environment from /Users/A/.ghc/x86_64-darwin-8.8.4/environments/default
t>
t> Listening for controls on 127.0.0.1:6010
Perhaps they are not critical (fingers crossed) ...