user5492: Can't get plutus-playground-server to start.
plutus-playground-server: for development use only
/nix/store/601kdlvidgan842yfklrmvpbz6a5xkf7-plutus-playground-server/bin/plutus-playground-server: line 10: /bin/plutus-playground-server: No such file or directory
git version: 41149926c108c71831cfe8d244c83b0ee4bf5c8a

user6139: I found a solution for this that you can read in the document I wrote to setup Plutus dev environment on your local machine ( https://www.punkbit.com/hacking/plutus-developer-environment-setup-on-macos-monterey/#6-run-the-plutus-playground-service-and-frontend).
The issue is related to a segmentation fault and by disabling the garbage-collector when running the generated commands in the generated source files, solved it for me!
Here's part of the original generated script:
$(nix-build --quiet --no-build-output ../default.nix -A plutus-apps.haskell.packages.plutus-playground-server.components.exes.plutus-playground-server)/bin/plutus-playground-server psgenerator generated


See the --quiet --no-build-output? That's bad! Remove it and you'll see the original error.
$(nix-build ../default.nix -A plutus-apps.haskell.packages.plutus-playground-server.components.exes.plutus-playground-server)/bin/plutus-playground-server psgenerator generated


You should see a segmentation fault.
Prefix the command with GC_DONT_GC=1
Check the article I posted above, its easier.

5492: <p>Can't get plutus-playground-server to start.</p>
<p>plutus-playground-server: for development use only
/nix/store/601kdlvidgan842yfklrmvpbz6a5xkf7-plutus-playground-server/bin/plutus-playground-server: line 10: /bin/plutus-playground-server: No such file or directory</p>
<p>git version: 41149926c108c71831cfe8d244c83b0ee4bf5c8a</p>
 6139: <p>I found a solution for this that you can read in the document I wrote to setup Plutus dev environment on your local machine ( <a href="https://www.punkbit.com/hacking/plutus-developer-environment-setup-on-macos-monterey/#6-run-the-plutus-playground-service-and-frontend" rel="nofollow noreferrer">https://www.punkbit.com/hacking/plutus-developer-environment-setup-on-macos-monterey/#6-run-the-plutus-playground-service-and-frontend</a>).</p>
<p>The issue is related to a segmentation fault and by disabling the garbage-collector when running the generated commands in the generated source files, solved it for me!</p>
<p>Here's part of the original generated script:</p>
<pre><code>$(nix-build --quiet --no-build-output ../default.nix -A plutus-apps.haskell.packages.plutus-playground-server.components.exes.plutus-playground-server)/bin/plutus-playground-server psgenerator generated

</code></pre>
<p>See the --quiet --no-build-output? That's bad! Remove it and you'll see the original error.</p>
<pre><code>$(nix-build ../default.nix -A plutus-apps.haskell.packages.plutus-playground-server.components.exes.plutus-playground-server)/bin/plutus-playground-server psgenerator generated

</code></pre>
<p>You should see a segmentation fault.</p>
<p>Prefix the command with GC_DONT_GC=1</p>
<p>Check the article I posted above, its easier.</p>
