Yesod-ghc-wrapper problem when starting 'yesod devel' for the first time

I have ghc in my path, configured yesod init and cabal built it.

Now that I am 'yesod devel', I get:

cabal: Cannot find program "ghc" in "yesod-ghc-wrapper" or on path

ghc IS on the way!

thanks

+4
source share
1 answer

I saw that if the path to the yesod bin directory under cabal is missing in my PATH.

Try changing the PATH to include the yesod directory and see if it disappears.

For example, in my .bash_profile I have:

export PATH=$PATH:/Users/username/Library/Haskell/ghc-7.4.2/lib/yesod-bin-1.2.2/bin/ 
+4
source

Source: https://habr.com/ru/post/1501495/


All Articles