<p>Yes removing the module declaration works. Sorry to miss that!</p>

CC BY-SA 4.0
2022-01-14T09:16:37.700Z
2022-01-14T09:16:37.700Z
d_fajardo
<p>You have to delete the module declaration at the top of the file. Try that and recompile. Lars mentions this here: <a href="https://youtu.be/K61Si6iQ-Js?t=86" rel="nofollow noreferrer">https://youtu.be/K61Si6iQ-Js?t=86</a></p>
<p>P.S. I missed this originally as well!</p>

CC BY-SA 4.0
2022-01-14T04:47:46.720Z
Welcome to Cardano SE! As a new user be sure to take the [Tour].
gRebel
CC BY-SA 4.0
2022-01-14T03:19:21.423Z
2022-01-14T03:19:21.423Z
IceColdEdge
<p>I'm trying to compile the English Auction script on a local plutus-playground-client session and I'm getting this error:</p>
<pre><code> error:\n    Variable not in scope: main :: GHC.Types.IO a0
</code></pre>
<p>Any help on why this is?</p>

<plutus><plutus-pioneer-program><plutus-playground>
(Solved) error:\n Variable not in scope: main :: GHC.Types.IO a0 in English Auction
# (Solved) error:\n Variable not in scope: main :: GHC.Types.IO a0 in English Auction

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

I'm trying to compile the English Auction script on a local plutus-playground-client session and I'm getting this error:
 error:\n    Variable not in scope: main :: GHC.Types.IO a0

Any help on why this is?

**Tags:** plutus, plutus-pioneer-program, plutus-playground

---

## 2 answers

### Answer by username_1 on 2022-01-14. Score: 4

You have to delete the module declaration at the top of the file. Try that and recompile. Lars mentions this here: <https://youtu.be/K61Si6iQ-Js?t=86>

P.S. I missed this originally as well!

> **Comments:**
> **username_2**: Welcome to Cardano SE! As a new user be sure to take the [Tour].  

---

### Answer by username_0 on 2022-01-14. Score: 1

Yes removing the module declaration works. Sorry to miss that!


---

