question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Stack REPL couldn't be started for target `xxx` due to: cannot satisfy -package yyy

See original GitHub issue

Hi,

I have a multi-project structure and I’m using the beta75 version of your plugin. I’m using ghc 8.8.3 and stack Version 2.3.1, Git revision de2a7b694f07de7e6cf17f8c92338c16286b2878 (8103 commits) x86_64 hpack-0.33.0

Running stack on the terminal works but somehow there are some issues when I’m trying to do it in Intellij, I have the followings errors for each of my sub-project :

Stack REPL couldn't be started for target `dolla-base:lib` due to: cannot satisfy -package adjunctions-4.4
Stack REPL couldn't be started for target `dolla-osprey:lib` due to: cannot satisfy -package byline-0.3.2.1
Stack REPL couldn't be started for target `dolla-consensus:lib` due to: cannot satisfy -package aeson-1.4.7.1
...

For each project it cannot satisfy the first package by alphabetical order for each of my subproject…

The plugin does not give me any compilation feedback anymore, like it’s jammed…

Also this at the beginning : Information:Stack has not been tested with GHC versions above 8.6, and using 8.8.3, this may fail Information:Stack has not been tested with Cabal versions above 2.4, but version 3.0.1.0 was found, this may fail

I’m using lts-16.2 which is using ghc 8.8.3

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
nhenincommented, Jul 13, 2020

I’m going to make a similar project with the same structure aside…

0reactions
nhenincommented, Jul 17, 2020

Weird that you did not notice this issue when not using IntelliJ 😄

Yeah It’s weird 😃, Thanks for the help, it’s been really appreciated…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot find module 'webpack' on fresh installation · Issue #5949
I have a fresh installation of NX for React project; I got this message when try to serve the React project from VSCode...
Read more >
intellij idea - Maven resources compiler: Failed to copy xx to yy
Solved it by deleting the old resources folder and creating a new one.
Read more >
How do you get *any* part of Haskell to work?! Angry beginner.
So, I want to learn Haskell. I've read through documentation, I know the syntax, I want to try a few exercises. First I...
Read more >
Bug listing with status RESOLVED with resolution OBSOLETE ...
issue with udev ("the udev init script is written for baselayout 2, please do not use this script with baselayout 1")" status:RESOLVED resolution:OBSOLETE ......
Read more >
This copy of the Install OS X El Capitan application can't be ...
Follow this tutorial. This applies to the reply from @Cazuma Nii Cavalcanti. In short once you are at the first install page go...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found