简体   繁体   English

在执行“yesod devel”Windows时,Yesod ghc.exe没有响应

[英]Yesod ghc.exe not responding when doing “yesod devel” Windows

I was starting to read about Yesod on Yesod website, and I tried to install it on Windows. 我开始在Yesod网站上阅读Yesod,我尝试在Windows上安装它。

I followed the following steps : 我按照以下步骤操作:

  1. I installed Haskell-Platform from their website for Windows. 我从他们的Windows网站安装了Haskell-Platform。
  2. I added C:...\\AppData\\Roaming\\cabal\\bin on my Path (where "..." means my HOME folder). 我在我的路径上添加了C:... \\ AppData \\ Roaming \\ cabal \\ bin(其中“...”表示我的HOME文件夹)。
  3. I opened my Command Prompt and typed "cabal update" 我打开了命令提示符并输入“cabal update”
  4. Then I did "cabal install cabal-install" to install the newest version. 然后我做了“cabal install cabal-install”来安装最新版本。
  5. Afterwards, I executed "cabal install yesod" and everything worked fine. 之后,我执行了“cabal install yesod”,一切正常。
  6. Called "yesod init" and it created my projet. 被称为“yesod init”,它创造了我的项目。
  7. Finally called "yesod devel" and the problem started. 最后称为“yesod devel”并且问题开始了。

Once I call "yesod devel" I have the following error : 一旦我称之为“yesod devel”,我就会出现以下错误:
Desktop\\yosod>yesod devel 桌面\\ yosod> yesod devel
Yesod devel server. Yesod开发服务器。 Press ENTER to quit 按ENTER退出
Configurating yosod-0.0.0 (yosod is the name of my application) 配置yosod-0.0.0(yosod是我的应用程序的名称)
yesod: src\\System\\Win32\\Notify.hs:(136,1)-(146,45): Non-exhaustive patterns function yesod:src \\ System \\ Win32 \\ Notify.hs:(136,1) - (146,45):非详尽模式功能
actsToEvent actsToEvent

Rebuilding application... (using Cabal library) 重建应用程序......(使用Cabal库)
Starting development server... 启动开发服务器......
Starting devel application 开始开发应用程序
Exit code: ExitFailure 255 退出代码:ExitFailure 255

(Then there's a window popup saying : ghc.exe not responding) (然后有一个窗口弹出窗口说:ghc.exe没有响应)

"ghc --version" is 7.4.2 “ghc --version”是7.4.2

"cabal --version" : “cabal --version”:
cabal-install version 1.16.0.2 cabal-install version 1.16.0.2
using version 1.16.0.3 of the Cabal library 使用Cabal库的1.16.0.3版

I tried reinstalling everything and I had the same error. 我尝试重新安装所有内容,但我遇到了同样的错误。

Thank you for your help. 谢谢您的帮助。

现在应该解决上游错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM