I have successfully installed nix, cabal and have setup the IOHK binary cache. I cloned the plutus-app repository and successfully built the Haskell packages and other artifacts with nix. Then running nix-shell successfully I get into the nix-shell prompt:
[nix-shell:/home/datapool/plutus-apps]$
I then issue the following commands:
[nix-shell:/home/datapool/plutus-apps]$ cd plutus-playground-client
[nix-shell:/home/datapool/plutus-apps/plutus-playground-client]$ npm run start
I then get this output:
> [email protected] start /home/datapool/plutus-apps/plutus-playground-client
> plutus-playground-generate-purs && npm install && npm run install:spago && npm run build:webpack:dev
/nix/store/ry2hywgh6cmmm9d5b9566nxdskd752yc-plutus-playground-generate-purs/bin/plutus-playground-generate-purs: line 6: /bin/plutus-playground-server: No such file or directory
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! [email protected] start: `plutus-playground-generate-purs &&
npm install && npm run install:spago && npm run build:webpack:dev`
npm ERR! spawn ENOENT
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 ERR! A complete log of this run can be found in:
npm ERR! /home/brightchip/.npm/_logs/2022-01-12T13_05_31_245Z-debug.log
As the output says, it seems to be looking for a non-existent /bin/plutus-playground-server.
Same problem when I run the server:
[nix-shell:/home/datapool/plutus-apps/plutus-playground-client]$ plutus-playground-server
plutus-playground-server: for development use only
/nix/store/fm77y43lzpgnay4pyc48jwpln0lnmrk3-plutus-playground-server/bin/plutus-playground-server: line 10: /bin/plutus-playground-server: No such file or directory
Any idea what I might be missing or how to debug?