Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import error while building #4

Open
qualimock opened this issue Mar 12, 2024 · 0 comments
Open

Import error while building #4

qualimock opened this issue Mar 12, 2024 · 0 comments

Comments

@qualimock
Copy link

qualimock commented Mar 12, 2024

Get this error while building a program.

app/Main.hs:21:16: error:
    Module ‘MSAuth’ does not export ‘OAuth2Token(..)’
   |
21 | import MSAuth (OAuth2Token(..))
   |                ^^^^^^^^^^^^^^^

app/Main.hs:22:81: error:
    Module
    ‘Network.OAuth2.Provider.AzureAD’
    does not export
    ‘IdpApplication’
   |
22 | import Network.OAuth2.Provider.AzureAD (OAuthCfg(..), azureOAuthADApp, AzureAD, IdpApplication, GrantTypeFlow(..))
   |                                                                                 ^^^^^^^^^^^^^^

app/Main.hs:22:97: error:
    Module
    ‘Network.OAuth2.Provider.AzureAD’
    does not export
    ‘GrantTypeFlow(..)’
   |
22 | import Network.OAuth2.Provider.AzureAD (OAuthCfg(..), azureOAuthADApp, AzureAD, IdpApplication, GrantTypeFlow(..))
   |

stack.yaml

...
resolver:
  url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/26.yaml
...
extra-deps:
- ms-auth-0.4.0.0
- validation-micro-1.0.0.0
- dotenv-micro-0.1.0.1
...

But with local ms-auth directory program builds successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant