Cli 1.18.1 error Could not find module: Shelley.Spec.Ledger.Bench.Gen

This is a known bug I hit earlier today when trying to upgrade using cabal install …

use the following:

cabal clean
cabal update
cabal build all

cp -p dist-newstyle/build/x86_64-linux/ghc-8.6.5/cardano-node-1.18.1/x/cardano-node/build/cardano-node/cardano-node ~/.local/bin/

cp -p dist-newstyle/build/x86_64-linux/ghc-8.6.5/cardano-cli-1.18.1/x/cardano-cli/build/cardano-cli/cardano-cli ~/.local/bin/

here is a link to the github issue for reference: [BUG] - cabal install fails for 1.19.0 · Issue #1675 · input-output-hk/cardano-node · GitHub

3 Likes