yesod-auth-oauth で Yesod Web フレームワークを使用したいのですが、依存関係の問題が発生しましたcabal-dev install
:
/Users/kenta/myapp/oryza% cabal-dev install
Resolving dependencies...
cabal: cannot configure yesod-platform-1.0.2. It requires data-default ==0.4.0
For the dependency on data-default ==0.4.0 there are these packages:
data-default-0.4.0. However none of them are available.
data-default-0.4.0 was excluded because authenticate-oauth-1.3.0 requires
data-default ==0.3.*
data-default-0.4.0 was excluded because data-default-0.3.0 was selected
instead
data-default-0.4.0 was excluded because oryza-0.0.0 requires data-default
==0.3.*
何が悪いのかわかりません。私がしたことは、Cabal ファイルに 1 行挿入するだけです。
yesod-auth-oauth >= 1.0 && < 1.1
によって作成されるデフォルトの足場は正常に機能しますyesod init
。
バージョン情報
- yesod コア: 1.0.1
- cabal-dev: 0.9.1 (Cabal 1.14.0 でビルド)
- cabal インストール: 0.10.2
- GHC: 7.0.4
- OS: Mac OS X ライオン
ありがとう。