Hi I'm trying to install Tidal and going through the troubleshooting steps. Those have taken me through Haskell installation, confirming ghci is installed and using the cabal commands. Now I am trying to confirm the Library is installed, and I get this error message:
:error:
Could not find module ‘Sound.Tidal.Context’
It is not a module in the current program, or in any known package.
There have been NO errors during the installation process, but also I am a permanent state of confusion with Unix so you never know, Anyway, looking for any insight into how I get this Library successfully installed, so that I can then check on SuperDirt.
If this is any clue, I can get the t> prompt in Atom, but can't get any sound out of that. Is that a Library issue?
Hi,
What Operating System are you using? Understanding the distribution you're installing on will help immensely!
I'm not sure of @yaxu's best troubleshooting procedure, but if you have no other haskell/cabal/ghc/supercollider usage, then the nuke option I find is relatively effective:
in your case, it sounds like your issue is solely requiring the .ghc and .cabal dirs removed to start again - this wipes out all the "userspace" stuff that gets setup by your cabal update/install commands, and can occasionally leave you in this dependency hell that you're experiencing.
If you are using any of ubuntu 20.04/Mint 20/debian 10, then I would recommend having a look at this installer process I'm working on, which takes care of all the heavy lifting for you (you will still want to nuke your directories above though before running):
(Older distros are passing, but I'm still not 100% sure of ansible module version capability - working on that verification right now )
Yes, as above I ran both those cabal commands, which were successful, and the error came AFTER running those, i.e. "Could not find module 'Sound.Tidal.Context'
I've cleared the error now, I can't identify any particular step that resolved this, but I rebooted my computer, ran cabal update and install library again, ran through the trouble shooting steps and this time was able to run install on SuperDirt in Supercollider, then relaunched Supercollider and the SuperDirt started. Again, didn't do anything different other than rebooting computer and going through the same steps.