You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/usr/bin/env run-script
module Application.Script.UpdateLastDrank where
import Application.Script.Prelude
import Generated.Types
import Data.Time.Clock
import Data.Time.Calendar
run :: Script
run = do
putStrLn "Updated Latest Record Entry"
When I run via command line, in a nix-shell. I am getting the error:
IHP> IHP> IHP> IHP> [1 of 3] Compiling Generated.Types ( build/Generated/Types.hs, interpreted )
[2 of 3] Compiling Application.Script.Prelude ( Application/Script/Prelude.hs, interpreted )
[3 of 3] Compiling Application.Script.UpdateLastDrank ( Application/Script/UpdateLastDrank.hs, interpreted )
Ok, three modules loaded.
IHP> IHP>
<interactive>:7:1: error:
• No instance for IHP.FrameworkConfig.FrameworkConfig
arising from a use of ‘runScript’
• In the expression: runScript run
In an equation for ‘it’: it = runScript run
IHP> Leaving GHCi.
With The following test Script:
When I run via command line, in a nix-shell. I am getting the error:
Possibly related to this issue?
The text was updated successfully, but these errors were encountered: