1

I'm trying to compile the English Auction script on a local plutus-playground-client session and I'm getting this error:

 error:\n    Variable not in scope: main :: GHC.Types.IO a0

Any help on why this is?

2 Answers 2

4

You have to delete the module declaration at the top of the file. Try that and recompile. Lars mentions this here: https://youtu.be/K61Si6iQ-Js?t=86

P.S. I missed this originally as well!

1
  • Welcome to Cardano SE! As a new user be sure to take the Tour.
    – gRebel
    Jan 14, 2022 at 4:47
1

Yes removing the module declaration works. Sorry to miss that!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.