<p>To fix this issue you need to run:</p>
<pre><code>git clone https://github.com/input-output-hk/cardano-wallet.git
cd cardano-wallet
git fetch --all --recurse-submodules --tags
git checkout tags/v2021-09-09
cabal configure --with-compiler=ghc-8.10.7 --constraint=&quot;random&lt;1.2&quot;
cabal build all -frelease
</code></pre>

CC BY-SA 4.0
2022-11-06T02:43:19.663Z
2022-11-06T02:43:19.663Z
Falcon Stakepool
<p>Guys I'm having some error when building cardano-wallet</p>
<p>Error: Could not load module ‘System.Random.Internal’ when building from source.</p>
<p><a href="https://i.sstatic.net/bD1ra.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/bD1ra.png" alt="enter image description here" /></a></p>
<p>Edit: I just followed the tutorial on developers.cardano.org</p>
<p>Found the same issue here: <a href="https://github.com/input-output-hk/cardano-wallet/issues/2824" rel="nofollow noreferrer">https://github.com/input-output-hk/cardano-wallet/issues/2824</a></p>

<wallet><build>
Building Cardano Wallet
# Building Cardano Wallet

(Asked by: username_0 on 2021-09-01)

Guys I'm having some error when building cardano-wallet

Error: Could not load module ‘System.Random.Internal’ when building from source.

[![enter image description here](https://i.sstatic.net/bD1ra.png)](https://i.sstatic.net/bD1ra.png)

Edit: I just followed the tutorial on developers.cardano.org

Found the same issue here: <https://github.com/input-output-hk/cardano-wallet/issues/2824>

**Tags:** wallet, build

---

## 1 answers

### Answer by username_1 on 2022-11-06. Score: 0

To fix this issue you need to run:
git clone https://github.com/input-output-hk/cardano-wallet.git
cd cardano-wallet
git fetch --all --recurse-submodules --tags
git checkout tags/v2021-09-09
cabal configure --with-compiler=ghc-8.10.7 --constraint="random<1.2"
cabal build all -frelease


---

