Yesod: Could not find module `Yesod.Auth.Account'

Giulio De Stasio

I'm developing a website with scaffolded Yesod (stack) and I have to import Yesod.Auth.Account to use internals accounts instead openid or others. But when i try import this module i've this output:

/usr/home/giulio/Lavori/karmen/src/Foundation.hs:27:1: error:
    Could not find module `Yesod.Auth.Account'
    Use -v to see a list of the files searched for.
   |
27 | import Yesod.Auth.Account
   | ^^^^^^^^^^^^^^^^^^^^^^^^^

I tried to install the module, build, use stack clean and stack build but nothing work.

Ben

That comes from the yesod-auth-account package which doesn't seem to be on Stackage. This means you must add it to the extra-deps stanza of your stack.yaml file. Docs here.

Probably something like this:

extra-deps:
- yesod-auth-account-1.4.3

You may also want to use the stack solver command.

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Yesod:モジュール `Yesod.Auth.Account 'が見つかりませんでした

分類Dev

timeout function in Yesod

分類Dev

YesodとCoffeescript

分類Dev

Haskell:YesodとEsqueleto

分類Dev

Logging Response time in Yesod

分類Dev

Yesod CSS lucius

分類Dev

Yesod Esqueleto isJust

分類Dev

`yesod devel`の後?

分類Dev

Yesod Hardcoded authentication depending on AppSettings

分類Dev

eclipsefp and yesod :installed package was not recognized

分類Dev

Yesod.Auth.Emailを使用したカスタム登録フォーム

分類Dev

What is the comment syntax in Yesod (hamlet) templates?

分類Dev

How to do pending spec inside Yesod specs

分類Dev

Stack install Yesod fails at GHC decompressing

分類Dev

メール確認なしでYesod.Auth.Emailを使用するにはどうすればよいですか?

分類Dev

How can I run Yesod's DB actions in the REPL?

分類Dev

YesodにWebSocketを組み込む

分類Dev

LucidをYesodのdefaultLayoutに追加したい

分類Dev

Yesodでの応答時間の記録

分類Dev

Yesod -- devel.hs: connect: does not exist (Connection refused)

分類Dev

Error when using options fields in Yesod subsite form

分類Dev

YesodでのJSON投稿の処理

分類Dev

YesodでrawSqlを実行する方法

分類Dev

Could not find module "@angular-devkit/build-angular"

分類Dev

Android Studio error Could not find method android() for arguments on module project

分類Dev

Error: "Could not find a declaration file for module 'react-search-input'"

分類Dev

Could not find a declaration file for module implicitly has an 'any' type - while importing part of CommonJS module

分類Dev

Yesodのルックアップクエリパラメータ

分類Dev

Yesodを使用してAngularJSアプリを構築する方法

Related 関連記事

  1. 1

    Yesod:モジュール `Yesod.Auth.Account 'が見つかりませんでした

  2. 2

    timeout function in Yesod

  3. 3

    YesodとCoffeescript

  4. 4

    Haskell:YesodとEsqueleto

  5. 5

    Logging Response time in Yesod

  6. 6

    Yesod CSS lucius

  7. 7

    Yesod Esqueleto isJust

  8. 8

    `yesod devel`の後?

  9. 9

    Yesod Hardcoded authentication depending on AppSettings

  10. 10

    eclipsefp and yesod :installed package was not recognized

  11. 11

    Yesod.Auth.Emailを使用したカスタム登録フォーム

  12. 12

    What is the comment syntax in Yesod (hamlet) templates?

  13. 13

    How to do pending spec inside Yesod specs

  14. 14

    Stack install Yesod fails at GHC decompressing

  15. 15

    メール確認なしでYesod.Auth.Emailを使用するにはどうすればよいですか?

  16. 16

    How can I run Yesod's DB actions in the REPL?

  17. 17

    YesodにWebSocketを組み込む

  18. 18

    LucidをYesodのdefaultLayoutに追加したい

  19. 19

    Yesodでの応答時間の記録

  20. 20

    Yesod -- devel.hs: connect: does not exist (Connection refused)

  21. 21

    Error when using options fields in Yesod subsite form

  22. 22

    YesodでのJSON投稿の処理

  23. 23

    YesodでrawSqlを実行する方法

  24. 24

    Could not find module "@angular-devkit/build-angular"

  25. 25

    Android Studio error Could not find method android() for arguments on module project

  26. 26

    Error: "Could not find a declaration file for module 'react-search-input'"

  27. 27

    Could not find a declaration file for module implicitly has an 'any' type - while importing part of CommonJS module

  28. 28

    Yesodのルックアップクエリパラメータ

  29. 29

    Yesodを使用してAngularJSアプリを構築する方法

ホットタグ

アーカイブ