Closed ndr-brt closed 3 years ago
I'm not sure if you can use install
since tidal-listener
needs to see Haskell dependencies as it launches interpreter that loads tidal
and related libraries. You can try launching this with cabal run
from the repository clone or try setting correct GHC_PACKAGE_PATH
for installed tidal-installer
(not sure where it should point).
Ah interesting.. Maybe cabal v1-install
works though?
Same error, with cabal v1-install
and with cabal run
That's strange. Howabout running from ghci, e.g.
cd src
ghci
import Sound.Tidal.Listener
listen
At first I got
<no location info>: error:
Could not load module ‘Sound.Tidal.Listener’
It is a member of the hidden package ‘tidal-listener-0.1.0.0’.
You can run ‘:set -package tidal-listener’ to expose it.
(Note: this unloads all the modules in the current scope.)
So I executed
:set -package tidal-listener
import then worked but when I execute listen
I get
<interactive>:5:1: error: Variable not in scope: listen
Tried also with cabal 3.2.0.0, same results
I think it's related to https://github.com/haskell/haskell-language-server/issues/221 Will read all the comments...
Ah, which distro are you using?
Do you use cabal.project(.local)
?
@yaxu ubuntu 21.04. Tried also with ghc 9.0.1 (I had 8.10.5 installed, because it's recommended by ghcup), same results. @sorki what do you mean?
wait! I don't receive that errors anymore! I think after passing to ghc 9.0.4 (did a lot of trials, can't remember! :joy: )
Hm strange! I guess we close this for now but keep an eye out for this..
Installed tidal-listener through
cabal install tidal-listener
(cabal version 3.4.0.0) Sent a message with a simpled1 $ s "bd"
I got back a/code/error
with this messageps: in the tidal-listener console output there are this two errors, don't know if they are releated: