I seem to be getting a compilation error when I try to compile any of the example files on my local host configuration for the Plutus Playground. The error is pictured here: And basically it seems that no matter which example file I try and run I always end up getting a deriving show error. I am using an oracle VM and have installed the binaries for nix and have been running everything out of nix-shell.
So at this point I am really not sure what to do, all of these errors I encounter on my localhost server. I've reinstalled the plutus git and nix as well and I can't seem to figure out why I have these errors. And the errors do all seem to be 'not in scope' related so maybe its a a case of me not having certain files downloaded?
EDIT: Here is a copy of both the 'deriving show' error code:
error: Not in scope: type constructor or class ‘Show’ Perhaps you want to add ‘Show’ to one of these import lists: ‘Prelude’ (/run/user/1000/web-ghc-work-f4d3c6b7d9d2297b/Main.hs:32:1-54) ‘Playground.Contract’ (/run/user/1000/web-ghc-work-f4d3c6b7d9d2297b/Main.hs:29:1-103) | 38 | } deriving Show | ^^^^
As well as one of the error code I get when I add 'Show' to the import list via Playground.Contract:
error: Not in scope: type constructor or class ‘Scripts.ScriptType’ Module ‘Ledger.Typed.Scripts’ does not export ‘ScriptType’. | 59 | instance Scripts.ScriptType Vesting where | ^^^^^^^^^^^^^^^^^^