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

Internal error message for cabal repl within project scope #10527

Open
philderbeast opened this issue Nov 5, 2024 · 0 comments
Open

Internal error message for cabal repl within project scope #10527

philderbeast opened this issue Nov 5, 2024 · 0 comments

Comments

@philderbeast
Copy link
Collaborator

Describe the bug
I'm getting an "internal error" mentioning fake-package-0 for a, possibly common, omission of a project target when bringing up the REPL.

To Reproduce
With this, the haskell/cabal repository, at its root folder, do the following;

$ cabal repl
Error: [Cabal-7076]
Internal error when trying to open a repl for the package fake-package-0.
The package is not in the set of available targets for the project plan, which
would suggest an inconsistency between readTargetSelectors and resolveTargets.

We could say something like "Please provide a target from the packages or components of this project".

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

No branches or pull requests

2 participants