[Solved] Errors when loading tidal from terminal and nvim

I had to reinstall things anew on my Mac and I am using now OS 10.14.6.

I usually play Tidal using neovim and tidal-vim plugin.
I have had no problem whatsoever, but now when triggering a simple line such as

d1 $ s "bd"

I get this error:

tidal> d1 $ s "bd"

<interactive>:1:1: error:
    • Variable not in scope: d1 :: ControlPattern -> t
    • Perhaps you meant ‘dt’ (imported from Sound.Tidal.Context)

That is kind of unexpected.
I checked Tidal.ghci at the location ~/.vim/bundle/vim-tidal/Tidal.ghci and I have not found anything particular.
Tidal version is 1.7.4

I also get into troubles when running just tidal from terminal. The logs say:

GHCi, version 8.10.4: https://www.haskell.org/ghc/  :? for help
Loaded package environment from /Users/Boggiz/.ghc/x86_64-darwin-8.10.4/environments/default

<no location info>: error:
    Could not load module ‘Sound.OSC.FD’
    It is a member of the hidden package ‘hosc-0.18.1’.
    You can run ‘:set -package hosc’ to expose it.
    (Note: this unloads all the modules in the current scope.)
[TidalCycles version 1.7.4]
Installed in /Users/Boggiz/.cabal/store/ghc-8.10.4/tdl-1.7.4-ee4f92ea/share
Listening for external controls on
Connected to SuperDirt.

<interactive>:39:24: error:
    Not in scope: ‘O.time’
    No module named ‘O’ is imported.

Any comment?

Okay, actually this helped.
(I still have to understand the magic between cabal install and cabal v1-install but never mind.)