<p>You have to be in the right commit if you use the PAB as described in lecture 6 of the ppp, otherwise you will face problems. PAB and some other stuff changed.
I assume you build the project with <code>cabal build</code> without errors, try to <code>cabal run NAME_OF_EXECUTABLE</code>, e.g. <code>cabal run oracle-pab</code>. You don't need config files.
If you want a more up to date example use the Uniswap example form lecture 10, the implementation is still working with the latest plutus.</p>
<p><a href="https://github.com/input-output-hk/plutus-pioneer-program/tree/main/code/week10" rel="nofollow noreferrer">https://github.com/input-output-hk/plutus-pioneer-program/tree/main/code/week10</a></p>

CC BY-SA 4.0
2021-09-10T11:16:24.753Z
2021-09-10T11:16:24.753Z
sbcdn
<p>Trying to run <code>PAB</code> by executing:</p>
<p><code>cabal exec -- myapp-pab webserver</code></p>
<p>returns the following error:</p>
<p><code>[Error] The --config option is required</code></p>
<p>However, the lecture by Prof. Lars (PPP Lecture 6) didn't make mention of any config files.</p>
<p>What am I missing?</p>

CC BY-SA 4.0
2021-09-10T21:54:06.983Z
Aoaddeola.. thank you for sharing your knowledge with knowledge seekers. You are golden! I am just learning Haskell.. next Plutus. Have some minimal programming experience but very technical mind. Would love some suggestions for self education on the above mentioned languages. Thank you kindly!
Stephen Smith
CC BY-SA 4.0
2021-09-11T06:06:42.387Z
@StephenSmith, you can learn Haskell [here](http://learnyouahaskell.com/introduction) and Plutus [here](https://www.youtube.com/watch?v=_zr3W8cgzIQ&list=PLK8ah7DzglhgV7W6BHcoIzRArjzs_UuSY)
Aoaddeola
<plutus>
PAB requesting CONFIG_FILE on CLI
# PAB requesting CONFIG_FILE on CLI

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

Trying to run `PAB` by executing:

`cabal exec -- myapp-pab webserver`

returns the following error:

`[Error] The --config option is required`

However, the lecture by Prof. Lars (PPP Lecture 6) didn't make mention of any config files.

What am I missing?

**Tags:** plutus
> **Comments:**
> **username_1**: Aoaddeola.. thank you for sharing your knowledge with knowledge seekers. You are golden! I am just learning Haskell.. next Plutus. Have some minimal programming experience but very technical mind. Would love some suggestions for self education on the above mentioned languages. Thank you kindly!  
> **username_0**: @StephenSmith, you can learn Haskell [here](http://learnyouahaskell.com/introduction) and Plutus [here](https://www.youtube.com/watch?v=_zr3W8cgzIQ&list=PLK8ah7DzglhgV7W6BHcoIzRArjzs_UuSY)  

---

## 1 answers

### Answer by username_2 on 2021-09-10. Score: 1 | Accepted answer

You have to be in the right commit if you use the PAB as described in lecture 6 of the ppp, otherwise you will face problems. PAB and some other stuff changed.
I assume you build the project with `cabal build` without errors, try to `cabal run NAME_OF_EXECUTABLE`, e.g. `cabal run oracle-pab`. You don't need config files.
If you want a more up to date example use the Uniswap example form lecture 10, the implementation is still working with the latest plutus.

<https://github.com/input-output-hk/plutus-pioneer-program/tree/main/code/week10>


---

