Что такое компонент клики? - PullRequest
1 голос
/ 03 августа 2020
cabal v2-repl cardano-node
cabal: Cannot open a repl for multiple components at once. The target
'cardano-node' refers to the package cardano-node-1.18.0 which includes the
libraries cardano-node-config and cardano-node.

The reason for this limitation is that current versions of ghci do not support
loading multiple components as source. Load just one component and when you
make changes to a dependent component then quit and reload.

Я пытаюсь ввести ответ группы, но непонятно, что означает component, означает ли это исполняемый файл или библиотеку? Если да, то как мне явно сослаться на / 'target' исполняемого файла?

1 Ответ

0 голосов
/ 03 августа 2020

Частичный ответ найден в случайной проблеме на github: https://github.com/haskell/cabal/issues/4602#issuecomment -357471623

Мы можем явно указать исполняемый файл с помощью:

cabal v2-repl exe:nameOfExecutable
...