<p>The line <code>Falling back to older state ()</code> means you probably need to run <code>cabal update</code> first (which downloads a copy of the current hackage index state).</p>

CC BY-SA 4.0
2022-01-12T06:49:58.323Z
After running cabal update, cabal build was killed because a process used too much memory. I increased Docker memory to 3GB

Failed to build iohk-monitoring-0.2.0.0 (which is required by
exe:plutus-starter-pab from plutus-starter-0.1.0.0 and
test:plutus-example-projects-test from plutus-starter-0.1.0.0). The build
process was killed (i.e. SIGKILL). The typical reason for this is that there
is not enough memory available (e.g. the OS killed a process using lots of
memory).
Gary Struthers
CC BY-SA 4.0
2022-01-12T09:25:23.367Z
You will need at least 8G of RAM (including swap).
Erik de Castro Lopo
CC BY-SA 4.0
2022-01-12T04:18:58.343Z
2022-01-12T04:18:58.343Z
Erik de Castro Lopo
<p>In the VS Code Docker Env setup on a Mac. I opened the starter project in the container. Ran cabal build in VS Terminal with devcontainer prompt.</p>
<pre><code>Warning: Requested index-state 2021-08-14T00:00:00Z is newer than
'hackage.haskell.org'! Falling back to older state ().
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: plutus-core-0.1.0.0 (user goal)
[__1] unknown package: plutus-core:happy:exe.happy (dependency of plutus-core)
[__1] fail (backjumping, conflict set: plutus-core, plutus-core:happy:exe.happy)
</code></pre>
<p>After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: plutus-core,
plutus-core:happy:exe.happy</p>
<p>I get the same error with all the starter-pap commands</p>

<cabal><vscode><docker><macos>
cabal: Could not resolve dependencies:plutus-core:happy:exe.happy
# cabal: Could not resolve dependencies:plutus-core:happy:exe.happy

(Asked by: username_0 on 2022-01-12)

In the VS Code Docker Env setup on a Mac. I opened the starter project in the container. Ran cabal build in VS Terminal with devcontainer prompt.
Warning: Requested index-state 2021-08-14T00:00:00Z is newer than
'hackage.haskell.org'! Falling back to older state ().
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: plutus-core-0.1.0.0 (user goal)
[__1] unknown package: plutus-core:happy:exe.happy (dependency of plutus-core)
[__1] fail (backjumping, conflict set: plutus-core, plutus-core:happy:exe.happy)

After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: plutus-core,
plutus-core:happy:exe.happy
I get the same error with all the starter-pap commands

**Tags:** cabal, vscode, docker, macos

---

## 1 answers

### Answer by username_1 on 2022-01-12. Score: 2

The line `Falling back to older state ()` means you probably need to run `cabal update` first (which downloads a copy of the current hackage index state).

> **Comments:**
> **username_0**: After running cabal update, cabal build was killed because a process used too much memory. I increased Docker memory to 3GB  Failed to build iohk-monitoring-0.2.0.0 (which is required by exe:plutus-starter-pab from plutus-starter-0.1.0.0 and test:plutus-example-projects-test from plutus-starter-0.1.0.0). The build process was killed (i.e. SIGKILL). The typical reason for this is that there is not enough memory available (e.g. the OS killed a process using lots of memory).  
> **username_1**: You will need at least 8G of RAM (including swap).  

---

