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

Repeated popup saying cannot satisfy package-id aeson #88

Closed
ProofOfKeags opened this issue Jun 1, 2018 · 3 comments
Closed

Repeated popup saying cannot satisfy package-id aeson #88

ProofOfKeags opened this issue Jun 1, 2018 · 3 comments

Comments

@ProofOfKeags
Copy link

ProofOfKeags commented Jun 1, 2018

Got error while processing diagnostics: <command line>: cannot satisfy -package-id aeson-1.2.4.0-4D00O4yzC0FJ9w5oyKpmlV: aeson-1.2.4.0-4D00O4yzC0FJ9w5oyKpmlV is unusable due to missing dependencies: attoparsec-0.13.2.2-3s3CgsAU1UREeeuHUZFQiP base-4.10.1.0 base-compat-0.9.3-915GC5pH10BBmcMnCvMsPA containers-0.5.10.2 dlist-0.8.0.4-C5jxmU4NyxKI1pN7pAcXnu ghc-prim-0.5.1.1 hashable-1.2.7.0-LmYYwdRyxeo1gZdEWccp3y scientific-0.3.6.2-6rnRk1GpyYx3J4blnjHqFY tagged-0.8.5-HviTdonkllN1ZD6he1Zn8I template-haskell-2.12.0.0 text-1.2.3.0-8nD60G3tOYT3Qi8GaESeB5 th-abstraction-0.2.6.0-KdJUlqAwMfUIgxZVMgLLVd time-locale-compat-0.1.1.4-4FewSj9xNz5KwikEo4XZpe unordered-containers-0.2.9.0-AID53f8BSxj1wBLxJT9npu uuid-types-1.0.3-Jnk9S7J8OCa1ykF07JJwq0 vector-0.12.0.1-JlawpRjIcMJIYPJVsWriIA (use -v for more information)

I can't seem to figure out why it's unhappy, I did a full stack build of the project.

@alanz
Copy link
Collaborator

alanz commented Jun 2, 2018

I suspect that the GHC in your project does not match the one in the hie you are using.

Take a look at the first line of /tmp/hie.log, it should report the version of GHC it is using. And make sure it matches the one your project is built with.

@runeksvendsen
Copy link
Contributor

I was getting the same error, and can confirm that switching GHC for my project to match the output of hie --compiler fixed the issue.

@ProofOfKeags
Copy link
Author

That did the trick. Thanks.

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

3 participants