It turns out that the problem is caused by the cabal.project
file in plutus-starter template.
In the following section:
-- Plutus apps revision from 2022-04-06
source-repository-package
type: git
location: https://github.com/input-output-hk/plutus-apps.git
tag: v0.1.0
subdir:
doc
freer-extras
playground-common
plutus-chain-index
plutus-chain-index-core
plutus-contract
plutus-example
plutus-contract-certification
plutus-ledger
plutus-ledger-constraints
plutus-pab
plutus-pab-executables
plutus-playground-server
plutus-script-utils
plutus-streaming
plutus-tx-constraints
plutus-use-cases
web-ghc
An obsolete plutus-apps
tag is still being used and it is expected that web-ghc
folder is still present.
To fix the issue, I repaced the above subdir
section with the following (found in the packages
section in cabal.project
file of the latest version of plutus-apps
):
cardano-streaming
doc
freer-extras
marconi
marconi-mamba
playground-common
pab-blockfrost
plutus-chain-index
plutus-chain-index-core
plutus-contract
plutus-contract-certification
plutus-example
plutus-ledger
plutus-ledger-constraints
plutus-pab
plutus-pab-executables
plutus-script-utils
plutus-tx-constraints
plutus-use-cases
rewindable-index
And then replacing the tag
with the latest tag found here