<p>Fixed it by deleting path <code>~/.ghc/X86_.../environments/default</code>. It was loading this profile by default in ghci</p>

CC BY-SA 4.0
2022-08-18T13:03:35.110Z
2022-08-18T13:03:35.110Z
et97
<pre><code>plutus-playground-server: user error (Error evaluating simulation: InterpreterError (CompilationErrors [CompilationError {filename = &quot;\n/private/tmp/web-ghc-work-1626f2e537d27294/Main.hs&quot;, row = 2, column = 1, text = [&quot; error:&quot;,&quot;    Could not load module \8216Playground.Contract\8217&quot;,&quot;    It is a member of the hidden package \8216playground-common-0.1.0.0\8217.&quot;,&quot;    You can run \8216:set -package playground-common\8217 to expose it.&quot;,&quot;    (Note: this unloads all the modules in the current scope.)&quot;,&quot;    It is a member of the hidden package \8216playground-common-0.1.0.0\8217.&quot;,&quot;    You can run \8216:set -package playground-common\8217 to expose it.&quot;,&quot;    (Note: this unloads all the modules in the current scope.)&quot;,&quot;    Use -v (or `:set -v` in ghci) to see a list of the files searched for.&quot;,&quot;  |&quot;,&quot;2 | import Playground.Contract&quot;,&quot;  | ^^^^^^^^^^^^^^^^^^^^^^^^^^&quot;]},CompilationError {filename = &quot;/private/tmp/web-ghc-work-1626f2e537d27294/Main.hs&quot;, row = 3, column = 1, text = [&quot; error:&quot;,&quot;    Could not load module \8216Plutus.Contract\8217&quot;,&quot;    It is a member of the hidden package \8216plutus-contract-0.1.0.0\8217.&quot;,&quot;    You can run \8216:set -package plutus-contract\8217 to expose it.&quot;,&quot;    (Note: this unloads all the modules in the current scope.)&quot;,&quot;    It is a member of the hidden package \8216plutus-contract-0.1.0.0\8217.&quot;,&quot;    You can run \8216:set -package plutus-contract\8217 to expose it.&quot;,&quot;    (Note: this unloads all the modules in the current scope.)&quot;,&quot;    Use -v (or `:set -v` in ghci) to see a list of the files searched for.&quot;,&quot;  |&quot;,&quot;3 | import Plutus.Contract&quot;,&quot;  | ^^^^^^^^^^^^^^^^^^^^^^&quot;]},CompilationError {filename = &quot;/private/tmp/web-ghc-work-1626f2e537d27294/Main.hs&quot;, row = 4, column = 1, text = [&quot; error:&quot;,&quot;    Could not load module \8216PlutusTx.Prelude\8217&quot;,&quot;    It is a member of the hidden package \8216plutus-tx-0.1.0.0\8217.&quot;,&quot;    You can run \8216:set -package plutus-tx\8217 to expose it.&quot;,&quot;    (Note: this unloads all the modules in the current scope.)&quot;,&quot;    It is a member of the hidden package \8216plutus-tx-0.1.0.0\8217.&quot;,&quot;    You can run \8216:set -package plutus-tx\8217 to expose it.&quot;,&quot;    (Note: this unloads all the modules in the current scope.)&quot;,&quot;    Use -v (or `:set -v` in ghci) to see a list of the files searched for.&quot;,&quot;  |&quot;,&quot;4 | import PlutusTx.Prelude&quot;,&quot;  | ^^^^^^^^^^^^^^^^^^^^^^^&quot;]}]))
</code></pre>
<p><a href="https://i.sstatic.net/4pHje.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/4pHje.png" alt="enter image description here" /></a></p>
<p>I am getting an Interpreter error when trying to start the playground. It happened after I ran <code>:set -package plutus-ledger</code> in ghci. How can I reverse this?</p>

<plutus-playground>
Plutus playground not starting with Interpreter error after running :set in GHCI
# Plutus playground not starting with Interpreter error after running :set in GHCI

(Asked by: username_0 on 2022-08-18)

plutus-playground-server: user error (Error evaluating simulation: InterpreterError (CompilationErrors [CompilationError {filename = "\n/private/tmp/web-ghc-work-1626f2e537d27294/Main.hs", row = 2, column = 1, text = [" error:","    Could not load module \8216Playground.Contract\8217","    It is a member of the hidden package \8216playground-common-0.1.0.0\8217.","    You can run \8216:set -package playground-common\8217 to expose it.","    (Note: this unloads all the modules in the current scope.)","    It is a member of the hidden package \8216playground-common-0.1.0.0\8217.","    You can run \8216:set -package playground-common\8217 to expose it.","    (Note: this unloads all the modules in the current scope.)","    Use -v (or `:set -v` in ghci) to see a list of the files searched for.","  |","2 | import Playground.Contract","  | ^^^^^^^^^^^^^^^^^^^^^^^^^^"]},CompilationError {filename = "/private/tmp/web-ghc-work-1626f2e537d27294/Main.hs", row = 3, column = 1, text = [" error:","    Could not load module \8216Plutus.Contract\8217","    It is a member of the hidden package \8216plutus-contract-0.1.0.0\8217.","    You can run \8216:set -package plutus-contract\8217 to expose it.","    (Note: this unloads all the modules in the current scope.)","    It is a member of the hidden package \8216plutus-contract-0.1.0.0\8217.","    You can run \8216:set -package plutus-contract\8217 to expose it.","    (Note: this unloads all the modules in the current scope.)","    Use -v (or `:set -v` in ghci) to see a list of the files searched for.","  |","3 | import Plutus.Contract","  | ^^^^^^^^^^^^^^^^^^^^^^"]},CompilationError {filename = "/private/tmp/web-ghc-work-1626f2e537d27294/Main.hs", row = 4, column = 1, text = [" error:","    Could not load module \8216PlutusTx.Prelude\8217","    It is a member of the hidden package \8216plutus-tx-0.1.0.0\8217.","    You can run \8216:set -package plutus-tx\8217 to expose it.","    (Note: this unloads all the modules in the current scope.)","    It is a member of the hidden package \8216plutus-tx-0.1.0.0\8217.","    You can run \8216:set -package plutus-tx\8217 to expose it.","    (Note: this unloads all the modules in the current scope.)","    Use -v (or `:set -v` in ghci) to see a list of the files searched for.","  |","4 | import PlutusTx.Prelude","  | ^^^^^^^^^^^^^^^^^^^^^^^"]}]))


I am getting an Interpreter error when trying to start the playground. It happened after I ran :set -package plutus-ledger in ghci. How can I reverse this?

**Tags:** plutus-playground

---

## 1 answers

### Answer by username_0 on 2022-08-18. Score: 1

Fixed it by deleting path `~/.ghc/X86_.../environments/default`. It was loading this profile by default in ghci


---

