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

Dependency Error #8

Open
gautam-srivastava opened this issue Nov 4, 2021 · 5 comments
Open

Dependency Error #8

gautam-srivastava opened this issue Nov 4, 2021 · 5 comments

Comments

@gautam-srivastava
Copy link

@rodrigosetti

Steps to Recreate:

  1. Clone Repository
  2. cabal run master-plan
src/MasterPlan/Parser.hs:24:1: error:
    Could not find module ‘Text.Megaparsec.Expr’
    Perhaps you meant
      Text.Megaparsec.Char (from megaparsec-9.2.0)
      Text.Megaparsec.Error (from megaparsec-9.2.0)
      Text.Megaparsec.Lexer
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
   | import           Text.Megaparsec.Expr

Issue Description:
Current version of dependent package: megaparsec deprecated Expr from version 7.0.0

Steps to fix:

  1. Change dependency in cabal file for megaparsec to version > 6.0.0 && 7.0.0 : Failed with reason - Dependency Transformers with similar version issue during dependency resolution
@rodrigosetti
Copy link
Owner

Thanks Gautam! would like to send a PR?

@gautam-srivastava
Copy link
Author

@rodrigosetti - I haven't fixed the issue yet for a PR.

I can send one if I find a fix that works with my haskell environment.

Can you confirm whether you could reproduce the issue?

@gautam-srivastava
Copy link
Author

gautam-srivastava commented Sep 22, 2024

Still a beginner at running packages with cabal. Tried cabal install instead of cabal run.

Attaching screen shot of dependency errors, just in case anyone is still watching this repo or could set it up on their workstation.

Screenshot 2024-09-22 at 8 44 06 PM

@gautam-srivastava
Copy link
Author

Seems like a MacOS issue while resolving dependencies with the following set of packages.

Setup: Encountered missing dependencies:
diagrams -any,
diagrams-lib -any,
diagrams-rasterific -any,
megaparsec -any,
optparse-applicative -any,
scientific -any,
syb -any

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

2 participants