为什么会出现“ ghcjs-boot:找不到命令”? [英] Why do I get "ghcjs-boot: command not found"?
本文介绍了为什么会出现“ ghcjs-boot:找不到命令”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经通过命令安装了ghcjs
I've installed ghcjs by the command
cabal install ./ghcjs ./ghcjs-prim
我得到
Updating documentation MyDir/Haskell/share/doc/x86_64-osx-ghc-7.8.3/index.html
最后一行。
但是当我尝试此命令时
ghcjs-boot --dev
我得到了 -bash :ghcjs-boot:找不到命令
有什么问题?
I got -bash: ghcjs-boot: command not found
What's the problem?
推荐答案
重写我的可以作为请求的答案进行评论:
Rewriting my comment as an answer by request:
您的PATH中是否有〜/ .cabal / bin?
Do you have ~/.cabal/bin in your PATH?
这篇关于为什么会出现“ ghcjs-boot:找不到命令”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文