I am trying to run the Plutus playground using the Gitbook recipe (https://docs.plutus-community.com/docs/setup/WindowsWSL.html). At step 15, the server starts fine, but trying to run the client with "npm run start" fails with the following
[info] Copying from global cache: "tuples" [info] Copying from global cache: "web-html" [error] Installation failed [error] Error: [error] .spago/__download-catenable-lists-v5.0.1-1293619144260987/download: rename: permission denied (Permission denied) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] purs:compile: `spago build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] purs:compile script.
It seems that the npm script is trying to download something into a (read-only) nix store. How do I get the client to start?
I found some other issues (e.g. Installation failed on Ubuntu 20.04 in WSL on Windows 10 #689) reporting this error, but the reported fix is to close VSCode, so it is no longer accessing the build directories. I am not currently using VSCode. However, to make sure it was not some other lingering file contention, I restarted my PC and did nothing except the build on a newly restarted system. Same error.