I want to open the English Auction example. I was looking for it on the playground, but couldn't find it. Where did I go wrong?
First I have checked out the commit with SHA1 hash 41149926c108c71831cfe8d244c83b0ee4bf5c8a in the plutus-apps repo. Then I have build the playground server with nix-build -A plutus-playground.server
as was suggested in a hint on the IOHK discord server (no link unfortunately, since not accessible from everywhere). I do not know what this did, but I remember it worked. Then I opened another terminal and inside this same repo I ran nix-shell
and then changed directory to the plutus-playground-client
. I ran plutus-playground-server
, which seemed to have started the server without any mentionable warnings or errors:
$ plutus-playground-server
plutus-playground-server: for development use only
[Info] Running: (Nothing,Webserver {_port = 8080, _maxInterpretationTime = 80s})
Initializing Context
Initializing Context
Warning: GITHUB_CLIENT_ID not set
Warning: GITHUB_CLIENT_SECRET not set
Warning: JWT_SIGNATURE not set
Interpreter ready
Then I opened another terminal window, navigated to the plutus-apps repo again, ran nix-shell
. cd-ed into the plutus-playground-client
again and ran npm run start
, which resulted in this output:
$ npm run start
> [email protected] start /home/myname/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
Done: generated
npm WARN [email protected] requires a peer of ajv@>=5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of monaco-editor@^0.14.0 || ^0.15.0 || ^0.16.0 || ^0.17.0 || ^0.18.0 || ^0.19.3 || ^0.20.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
audited 752 packages in 4.172s
42 packages are looking for funding
run `npm fund` for details
found 29 vulnerabilities (2 low, 17 moderate, 10 high)
run `npm audit fix` to fix them, or `npm audit` for details
> [email protected] install:spago /home/myname/plutus-apps/plutus-playground-client
> spago install
> [email protected] build:webpack:dev /home/myname/plutus-apps/plutus-playground-client
> webpack-cli serve --progress --inline --hot --mode=development --node-env=development
10% building 0/1 entries 0/0 dependencies 0/0 modulesℹ 「wds」: Project is running at https://localhost:8009/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from /home/myname/plutus-apps/plutus-playground-client/dist
⚠ 「wdm」: WARNING in Src Lib All
Warnings 0 0/28 0/28
Errors 0 0 0
70 WARNINGS in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details)
webpack compiled with 71 warnings
ℹ 「wdm」: Compiled with warnings.
If I remember correctly I then could already see stuff running on the https://localhost:8009 (ignoring the warnings about the self-signed certificate). Anyways I continued following the week01 instructions and opened the plutus-apps
once more, executed the nix-shell
again and then navigated to the repo of the plutus-pioneer-program, which I had cloned earlier. There I changed directory to code/week01
and
$ cabal update
$ cabal build
the project. However the auction game is not visible anywhere. The plutus playground is visible on https://localhost:8009, but I do not see the auction game. Help anyone?