Open
Description
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".