0

尝试在 MacOS 上通过 Nix 运行 Plutus Playground 时遇到问题。

我尝试使用最后一个可用标签 v2021-12-20,但是当我尝试在 nix-shell 中运行 Plutus Playground Client 时出现以下错误:

nix-shell:~/cardano/plutus-apps/plutus-playground-client]$ npm run start

> plutus-playground-client@1.0.0 start /Users/matt/cardano/plutus-apps/plutus-playground-client
> plutus-playground-generate-purs && npm install && npm run install:spago && npm run build:webpack:dev

/nix/store/2nr8xfy3zqdgxfmxlc3r48gijfdwbnrf-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! plutus-playground-client@1.0.0 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 plutus-playground-client@1.0.0 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!     /Users/matt/.npm/_logs/2021-12-20T18_27_49_943Z-debug.log

它似乎类似于Plutus Playground Client cannot run,但我找不到任何帮助运行它的东西。

我的 Nix 配置:

uild-users-group = nixbld

substituters        = https://hydra.iohk.io https://iohk.cachix.org https://cache.nixos.org/
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=

sandbox = false

system = x86_64-darwin
extra-platforms = x86_64-darwin aarch64-darwin

我在 M1 Mac 上运行它。

4

0 回答 0