# \[Solved\] Errors when loading tidal from terminal and nvim

**URL:** <https://uzu.lurk.org/t/solved-errors-when-loading-tidal-from-terminal-and-nvim/3112>\
**Category:** TidalCycles\
**Tags:** installation\
**Created:** [3 May 2021 20:05 UTC](https://uzu.lurk.org/t/solved-errors-when-loading-tidal-from-terminal-and-nvim/3112 "2021-05-03T20:05:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattia.paterna](https://uzu.lurk.org/user_avatar/uzu.lurk.org/mattia.paterna/32/112_2.png) [@mattia.paterna](https://uzu.lurk.org/u/mattia.paterna)\
**Post date:** [3 May 2021 20:05 UTC](https://uzu.lurk.org/t/solved-errors-when-loading-tidal-from-terminal-and-nvim/3112/1 "2021-05-03T20:05:52Z")

</div>

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

```haskell
d1 $ s "bd"

```

I get this error:

```haskell
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:

```haskell
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 127.0.0.1:6010
Connected to SuperDirt.

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

```

Any comment?

---

<div class="post-metadata">

**Author:** ![mattia.paterna](https://uzu.lurk.org/user_avatar/uzu.lurk.org/mattia.paterna/32/112_2.png) [@mattia.paterna](https://uzu.lurk.org/u/mattia.paterna)\
**Post date:** [3 May 2021 20:10 UTC](https://uzu.lurk.org/t/solved-errors-when-loading-tidal-from-terminal-and-nvim/3112/2 "2021-05-03T20:10:09Z")

</div>

Okay, actually [this](https://club.tidalcycles.org/t/could-not-load-module-sound-osc-fd-error-on-atom/2879/5) helped.  
(I still have to understand the magic between `cabal install ` and `cabal v1-install` but never mind.)
