<p>Be sure to do a git pull for both 'plutus-master' and 'plutus-pioneer-program'.
Then set the right git-checkout tag (of the week's cabal project file)
Restart nix-shell so it builds the 'plutus-master', after that you can do the following to resolve missing dependencies in the 'week' folder:</p>
<ul>
<li>cabal clean</li>
<li>cabal update</li>
<li>cabal build</li>
<li>cabal repl</li>
</ul>
<p>This should work</p>

CC BY-SA 4.0
2022-02-18T11:09:39.037Z
Thanks, the key here for me was to restart the nix-shell. Once I did this everything flowed as expected.
wildcatmik
CC BY-SA 4.0
2022-02-18T11:05:48.913Z
2022-02-18T11:05:48.913Z
DJ92
<p>When running <code>cabal build</code> or <code>cabal repl</code> in the core/week04 folder I get the following error message when building the playground-common-0.1.0.0 package:</p>
<pre><code>src/Auth.hs:130:41: error:
    Not in scope: type constructor or class 'JWT.EncodeSigner'
    Module 'Web.JWT' does not export 'EncodeSigner'
    |
130 |         { _configJWTSignature       :: !JWT.EncodeSigner
    |                                         ^^^^^^^^^^^^^^^^ 
</code></pre>
<p>I am in the correct branch in the plutus-apps repo as per the cabl.project file in code/week04. I've run cabal update and it was successful.</p>
<p>Does anyone have any ideas how to resolve this?</p>

CC BY-SA 4.0
2022-02-17T09:02:08.747Z
Do you run `cabal` from `nix-shell`?
Sjoerd Visscher
CC BY-SA 4.0
2022-02-17T21:02:42.487Z
yes, I do. It appears the issue was that I ran nix-shell under an old commit (for week 3) and restarting the shell _after_ the commit was changed allowed cabal build to run
wildcatmik
<plutus-pioneer-program><cabal><build>
Week 4 issue with Cabal build: Not in scope: type constructor or class 'JWT.EncodeSigner'
# Week 4 issue with Cabal build: Not in scope: type constructor or class 'JWT.EncodeSigner'

(Asked by: username_0 on 2022-02-16)

When running cabal build or cabal repl in the core/week04 folder I get the following error message when building the playground-common-0.1.0.0 package:
src/Auth.hs:130:41: error:
    Not in scope: type constructor or class 'JWT.EncodeSigner'
    Module 'Web.JWT' does not export 'EncodeSigner'
    |
130 |         { _configJWTSignature       :: !JWT.EncodeSigner
    |                                         ^^^^^^^^^^^^^^^^ 

I am in the correct branch in the plutus-apps repo as per the cabl.project file in code/week04. I've run cabal update and it was successful.
Does anyone have any ideas how to resolve this?

**Tags:** plutus-pioneer-program, cabal, build
> **Comments:**
> **username_1**: Do you run `cabal` from `nix-shell`?  
> **username_0**: yes, I do. It appears the issue was that I ran nix-shell under an old commit (for week 3) and restarting the shell _after_ the commit was changed allowed cabal build to run  

---

## 1 answers

### Answer by username_2 on 2022-02-18. Score: 3 | Accepted answer

Be sure to do a git pull for both 'plutus-master' and 'plutus-pioneer-program'.
Then set the right git-checkout tag (of the week's cabal project file)
Restart nix-shell so it builds the 'plutus-master', after that you can do the following to resolve missing dependencies in the 'week' folder:

* cabal clean
* cabal update
* cabal build
* cabal repl

This should work

> **Comments:**
> **username_0**: Thanks, the key here for me was to restart the nix-shell. Once I did this everything flowed as expected.  

---

