Error is occurring for MacOS 12.1 Monterey. Please, let me know, if I should include additional details.
I am going through the step noted in this document in order to setup local Plutus app: https://docs.google.com/document/d/15QR25eWgg587FTPnuf6Si_lpux-uFQsY_2Gj_4vf4lM/edit
Everything is going fine until the 6th step. The following is the error log I am getting:
> [email protected] start /Users/rnaydenov/Desktop/Plutus Pioneer/plutus-apps/plutus-playground-client
> plutus-playground-generate-purs && npm install && npm run install:spago && npm run build:webpack:dev
[Info] Running: (Nothing,PSGenerator {_outputDir = "generated"})
The following purescript packages are needed by the generated code:
- plutus-playground-client
- purescript-argonaut-codecs
- purescript-either
- purescript-enums
- purescript-lists
- purescript-maybe
- purescript-newtype
- purescript-ordered-collections
- purescript-prelude
- purescript-profunctor-lenses
- purescript-tuples
- web-common
Successfully created your PureScript modules!
Successfully created your servant API purescript functions!
Please make sure you have purescript-servant-support and purescript-bridge-json-helpers installed
plutus-playground-server: user error (Error evaluating simulation: InterpreterError (CompilationErrors [CompilationError {filename = "\n/private/tmp/web-ghc-work-95c26a6de2f74eb6/Main.hs", row = 2, column = 1, text = [" error:"," Could not find module \8216Playground.Contract\8217"," Use -v (or `:set -v` in ghci) to see a list of the files searched for."," |","2 | import Playground.Contract"," | ^^^^^^^^^^^^^^^^^^^^^^^^^^"]},CompilationError {filename = "/private/tmp/web-ghc-work-95c26a6de2f74eb6/Main.hs", row = 3, column = 1, text = [" error:"," Could not find module \8216Plutus.Contract\8217"," Use -v (or `:set -v` in ghci) to see a list of the files searched for."," |","3 | import Plutus.Contract"," | ^^^^^^^^^^^^^^^^^^^^^^"]},CompilationError {filename = "/private/tmp/web-ghc-work-95c26a6de2f74eb6/Main.hs", row = 4, column = 1, text = [" error:"," Could not find module \8216PlutusTx.Prelude\8217"," Use -v (or `:set -v` in ghci) to see a list of the files searched for."," |","4 | import PlutusTx.Prelude"," | ^^^^^^^^^^^^^^^^^^^^^^^"]}]))
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `plutus-playground-generate-purs && npm install && npm run install:spago && npm run build:webpack:dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/rnaydenov/.npm/_logs/2022-01-12T22_40_06_274Z-debug.log