tidalcycles / vim-tidal

Vim plugin for TidalCycles
MIT License
222 stars 56 forks source link

Only way to get REPL to work is by running `sudo tidalvim` #54

Open winstonmyers opened 3 years ago

winstonmyers commented 3 years ago

I had been able to run TidalCycles using SuperCollider on my Mac OS X - Catalina, but have been unable to get the vim-tidal plugin to work. It seems like my user or user group has some permission issues, but I have looked all over the /usr/local/bin/ghc folder as well as changed the permissions to allow the user and user group to have read, write, and execute access. I tried chmod, chown, chirp, but still the only way to get the vim-tidal REPL to work is by launching sudo tidalvim, which I’d rather not do.

Here is the what comes up in my console when I run tidalvim: 03E4230C-0D8A-4C3E-82AB-6BD79D13283D

Here is what comes up when I run sudo tidalvim: 0611251A-BA8E-40CA-9201-9B7B1E3C466B

Any idea what I might be doing wrong?

munshkr commented 3 years ago

Hi. Are you using Stack? In that case, I think the GHCI should be stack ghci instead of stack tidal. Try running:

$ export GHCI="stack ghci"
$ tidalvim

and see if it loads ghci correctly.