Could not find module

I’m brand new to Plutus (intermediate in Haskell). I’m trying to work through the tutorial “Writing a basic Plutus app in the Plutus Playground”. I’ve copied that code into the Playground editor and tried to compile, but I get a failed compilation with three compilation errors: “Could not find module ‘Plutus.Contract’”, “Could not find module ‘PlutusTx’”, and “Could not find module ‘PlutusTx.Prelude’”.

Am I missing something?

Did you get a solution?

Yes, I re-tried the tutorial with a different version and this issue seemed to clear up.

2 Likes

I installed libsodium after I run Cabal install in the folder of the project. Then cabal installed a lot of dependencies that have not installed before.