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.
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]
コメントを追加