我試圖安裝我的第一個腳手架Yesod應用程序。當我運行cabal-dev install && yesod --dev devel
它與ExitFailure 1失敗。我正在使用sqlite的持久性。Yesod ExitFailure 1安裝腳手架應用程序
Application.hs:49:44:
No instance for (monad-logger-0.3.1:Control.Monad.Logger.MonadLogger
IO)
arising from a use of `runMigration'
Possible fix:
add an instance declaration for
(monad-logger-0.3.1:Control.Monad.Logger.MonadLogger IO)
In the second argument of `Database.Persist.Store.runPool', namely
`(runMigration migrateAll)'
In a stmt of a 'do' block:
Database.Persist.Store.runPool dbconf (runMigration migrateAll) p
In the expression:
do { manager <- newManager def;
s <- staticSite;
dbconf <- withYamlEnvironment
"config/sqlite.yml" (appEnv conf) Database.Persist.Store.loadConfig
>>= Database.Persist.Store.applyEnv;
p <- Database.Persist.Store.createPoolConfig
(dbconf :: PersistConfig);
.... }
Failed to install testProject-0.0.0
cabal.exe: Error: some packages failed to install:
testProject-0.0.0 failed during the building phase. The exception was:
ExitFailure 1
我試圖按照這裏的說明:http://www.yesodweb.com/book/scaffolding-and-the-site-template 沒有設法找到有關這個問題的任何信息。任何線索,缺少什麼?
返回的結果做到了。非常感謝! – 2013-03-16 13:22:00