2

I'm following the first lecture in the plutus pioneer program but I cannot set up the local environment. The error happens when running npm start on a nix-shell after initializing the playground server.

The following purescript packages are needed by the generated code:

  - plutus-playground-client
  - purescript-either
  - purescript-foreign-generic
  - purescript-maybe
  - purescript-ordered-collections
  - purescript-profunctor-lenses
  - web-common

Successfully created your PureScript modules!
plutus-playground-server: user error (Error evaluating simulation: JsonDecodingError {expected = "EvaluationResult", decodingError = "Error in $: not enough input", input = ""})

I'm using windows 10 with WSL2

4
  • I would recommend opening an issue on the plutus issue tracker for this kind of case: github.com/input-output-hk/plutus/issues
    – kolam
    Commented Aug 30, 2021 at 23:03
  • Might be this? "If you're using Windows and WSL, make sure the plutus repo clone is located in the WSL filesystem" (stackoverflow.com/questions/68276780/…) Commented Aug 31, 2021 at 17:39
  • No, it is located in the WSL filesystem. I'm planning to switch to ubuntu
    – martin
    Commented Sep 4, 2021 at 1:07
  • Did you ever find the solution? I have the same issue...masOS i7 Monterey.
    – TheStophe
    Commented Jan 21, 2022 at 3:49

1 Answer 1

-1

I recommend installing Virtual Box and using NixOS or just installing NixOS on a flash drive.

Here is an installation guide.

3
  • Thanks for your answer, but this is not really a solution to the problem
    – martin
    Commented Aug 30, 2021 at 22:45
  • 1
    Are you running in a Nix shell?
    – Noah Jones
    Commented Aug 31, 2021 at 0:51
  • Yes, It is activated
    – martin
    Commented Aug 31, 2021 at 10:52

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.