<p>It turns out that the problem is caused by the <code>cabal.project</code> file in <a href="https://github.com/input-output-hk/plutus-starter" rel="nofollow noreferrer">plutus-starter template</a>.</p>
<p>In the following section:</p>
<pre><code>-- 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
</code></pre>
<p>An obsolete <code>plutus-apps</code> tag is still being used and it is expected that <code>web-ghc</code> folder is still present.</p>
<p>To fix the issue, I repaced the above <code>subdir</code> section with the following (found in the <code>packages</code> section in <code>cabal.project</code> file of the latest version of <code>plutus-apps</code>):</p>
<pre><code>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
</code></pre>
<p>And then replacing the <code>tag</code> with the latest tag found <a href="https://github.com/input-output-hk/plutus-apps/tags" rel="nofollow noreferrer">here</a></p>

CC BY-SA 4.0
2023-02-22T00:15:49.293Z
I am getting the same but for `cardano-b_-c0de99f0ccd585cd/strict-containers`: `cardano-b_-c0de99f0ccd585cd/strict-containers: getDirectoryContents:openDirStream: does not exist (No such file or directory)`. Do you know what I can do? Thanks
Falcon Stakepool
CC BY-SA 4.0
2023-02-23T01:56:57.230Z
what `plutus-apps` tag are you using? there seem to be an obsolete reference to `strict-containers` in `cardano-binary`. Perhaps, the version of `cardano-binary` is what's obsolete. You might want to give it a look
Aoaddeola
CC BY-SA 4.0
2022-12-03T10:38:17.917Z
2022-12-03T10:38:17.917Z
Aoaddeola
<p>Running <code>cabal update</code> within nixos in my app fails with the following:</p>
<pre><code>$HOME/my-app/dist-newstyle/src/plutus-ap_-cbcc5c6ab544aad6/web-ghc: getDirectoryContents:openDirStream: does not exist (No such file or directory)
</code></pre>
<p>Any help would be appreciated.</p>

CC BY-SA 4.0
2022-12-02T13:26:47.213Z
Same here. Trying to run cabal
Adam
CC BY-SA 4.0
2022-12-03T12:51:05.030Z
I've been able to figure out the cause
Aoaddeola
<plutus>
getDirectoryContents:openDirStream: does not exist
# getDirectoryContents:openDirStream: does not exist

(Asked by: username_0 on 2022-11-24)

Running cabal update within nixos in my app fails with the following:
$HOME/my-app/dist-newstyle/src/plutus-ap_-cbcc5c6ab544aad6/web-ghc: getDirectoryContents:openDirStream: does not exist (No such file or directory)

Any help would be appreciated.

**Tags:** plutus
> **Comments:**
> **username_1**: Same here. Trying to run cabal  
> **username_0**: I've been able to figure out the cause  

---

## 1 answers

### Answer by username_0 on 2022-12-03. Score: 2 | Accepted answer

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

> **Comments:**
> **username_2**: I am getting the same but for `cardano-b_-c0de99f0ccd585cd/strict-containers`: `cardano-b_-c0de99f0ccd585cd/strict-containers: getDirectoryContents:openDirStream: does not exist (No such file or directory)`. Do you know what I can do? Thanks  
> **username_0**: what `plutus-apps` tag are you using? there seem to be an obsolete reference to `strict-containers` in `cardano-binary`. Perhaps, the version of `cardano-binary` is what's obsolete. You might want to give it a look  

---

