<p>It’s because def :: SlotConfig method is not found.</p>
<p>You have to “import Data.Default” first</p>

CC BY-SA 4.0
2022-01-13T13:18:50.333Z
I needed sleep last night and figured it would be a while before anyone answered.  Thank you for being so quick!  THIS WORKED!  Thank you so much!
Deceptikon
CC BY-SA 4.0
2022-01-13T03:40:14.750Z
2022-01-13T03:40:14.750Z
Hoa Ho
<p>Firstly, when I attempt to build a repl of week01 what I get is <a href="https://i.sstatic.net/vZDm4.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/vZDm4.png" alt="this" /></a></p>
<p>Then when I attempt to use slotToEndPOSIXTime I get <a href="https://i.sstatic.net/Si4nL.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Si4nL.png" alt="this" /></a></p>
<p>Any help would be greatly appreciated, thanks!  Everything else works great up until this point.</p>

<plutus><plutus-pioneer-program><plutus-playground>
slotToEndPOSIXTime error
# slotToEndPOSIXTime error

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

Firstly, when I attempt to build a repl of week01 what I get is [![this](https://i.sstatic.net/vZDm4.png)](https://i.sstatic.net/vZDm4.png)

Then when I attempt to use slotToEndPOSIXTime I get [![this](https://i.sstatic.net/Si4nL.png)](https://i.sstatic.net/Si4nL.png)

Any help would be greatly appreciated, thanks! Everything else works great up until this point.

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

---

## 1 answers

### Answer by username_1 on 2022-01-13. Score: 1 | Accepted answer

It’s because def :: SlotConfig method is not found.

You have to “import Data.Default” first

> **Comments:**
> **username_0**: I needed sleep last night and figured it would be a while before anyone answered.  Thank you for being so quick!  THIS WORKED!  Thank you so much!  

---

