Hi there !
I am very new to Tidal and Haskell in general, and I am having trouble installing Tidal for the first time (MacOS 10.9).
I tried installing tidal the bootstrap way, which failed installing cabal. I always got "Failed to create temporary directory" when trying ghcup cabal-install.
So I then tried to install tidal with stack. It seemed to work normally, I changed the GHCI path in the Atom plugin to : stack exec ghci -- as discussed here. But Tidal won’t boot.
I tried troubleshooting but import Sound.Tidal.Context gives me the following error : Could not find module ‘Sound.Tidal.Context’.
Furthermore, tidal is not listed in stack exec ghc-pkg list. I checked the detail of that list, and the list doesn’t include the snapshot where stack installed tidal.
Hi @WQT, that’s a shame that the bootstrap didn’t work. Could you share the full error log of running cabal v2-install tidal --lib please? I haven’t seen this error before.
There have been changes to the atom plugin recently that could be the issue with running stack. I’ll look into this.
Thank you so much for looking into this !
My problem is I can’t even install cabal. So cabal v1-install tidal --lib gives me -bash: cabal: command not found.
When I tried to install cabal with ghcup it kept failing with this error :
Apparently I have only ghcup without cabal, the installation might have failed partway.
And yes I have tried it with . "$HOME/.ghcup/env", still getting the same cabal error.
You are absolutely right about that ! I can’t update to a more recent OS due to a few things I have on this thare are compatible up to 10.9 only.
Does that mean I can’t install Tidal on 10.9 ? If so sorry if I have wasted your time.
I tried your previous commands, it worked until the last one failed again ghcup --cache install-cabal
same error as before : Failed to create temporary directory