<p>Actually, changing <code>node-sass</code> version to <code>^7.0.0</code> inside package-json helped me, however I am not sure it did not break any dependencies.
Node 17+ is not supported by node-sass ^5.</p>

CC BY-SA 4.0
2022-01-16T04:21:42.323Z
Welcome to Cardano SE! As a new user be sure to take the [Tour].
gRebel
CC BY-SA 4.0
2022-01-15T13:25:20.593Z
2022-01-15T13:25:20.593Z
Viktor
<p>MacOs Catalina 10.15.7 (Intel)</p>
<p>After facing issue <a href="https://cardano.stackexchange.com/questions/6377/plutus-playground-client-fails-to-load/6451#6451">here</a>, I ran the command <code>GC_DONT_GC=1 npm run start</code> and it build some libraries, however failed with following error (plutus-playground-server was up and running):</p>
<pre><code>79 silly inflate node_modules/@xtuc/ieee754
80 http fetch GET 200 https://registry.npmjs.org/@webassemblyjs%2fleb128 119ms (cache revalidated)
81 silly inflate node_modules/@xtuc/long
2686 error                         ^
2686 error ../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::__1::basic_string&lt;char&gt; &amp;' to prevent copying
2686 error         for (const auto denominator : denominators)
2686 error              ^~~~~~~~~~~~~~~~~~~~~~~~
2686 error                         &amp;
2686 error 2 warnings generated.
2686 error In file included from ../src/binding.cpp:1:
2686 error In file included from ../../nan/nan.h:56:
2686 error In file included from /Users/CrosbyTop/Library/Caches/node-gyp/17.0.1/include/node/node.h:63:
2686 error In file included from /Users/CrosbyTop/Library/Caches/node-gyp/17.0.1/include/node/v8.h:25:
2686 error In file included from /Users/CrosbyTop/Library/Caches/node-gyp/17.0.1/include/node/v8-array-buffer.h:12:
2686 error In file included from /Users/CrosbyTop/Library/Caches/node-gyp/17.0.1/include/node/v8-local-handle.h:12:
2686 error /Users/CrosbyTop/Library/Caches/node-gyp/17.0.1/include/node/v8-internal.h:566:38: error: no template named 'remove_cv_t' in namespace 'std'; did you mean 'remove_cv'?
2686 error             !std::is_same&lt;Data, std::remove_cv_t&lt;T&gt;&gt;::value&gt;::Perform(data);
2686 error                                 ~~~~~^~~~~~~~~~~
2686 error                                      remove_cv
2686 error /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:697:50: note: 'remove_cv' declared here
2686 error template &lt;class _Tp&gt; struct _LIBCPP_TEMPLATE_VIS remove_cv
2686 error                                                  ^
2686 error 1 error generated.
2686 error make: *** [Release/obj.target/binding/src/binding.o] Error 1
2686 error gyp ERR! build error
2686 error gyp ERR! stack Error: `make` failed with exit code: 2
2686 error gyp ERR! stack     at ChildProcess.onExit (/Users/CrosbyTop/projects/cardano/ppp3/plutus-apps/plutus-playground-client/node_modules/node-gyp/lib/build.js:194:23)
2686 error gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
2686 error gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
2686 error gyp ERR! System Darwin 19.6.0
2686 error gyp ERR! command &quot;/usr/local/Cellar/node/17.0.1/bin/node&quot; &quot;/Users/CrosbyTop/projects/cardano/ppp3/plutus-apps/plutus-playground-client/node_modules/node-gyp/bin/node-gyp.js&quot; &quot;rebuild&quot; &quot;--verbose&quot; &quot;--libsass_ext=&quot; &quot;--libsass_cflags=&quot; &quot;--libsass_ldflags=&quot; &quot;--libsass_library=&quot;
2686 error gyp ERR! cwd /Users/CrosbyTop/projects/cardano/ppp3/plutus-apps/plutus-playground-client/node_modules/node-sass
2686 error gyp ERR! node -v v17.0.1
2686 error gyp ERR! node-gyp -v v7.1.2
2686 error gyp ERR! not ok
2686 error Build failed with error code: 1
2687 verbose exit 1
</code></pre>

CC BY-SA 4.0
2022-01-16T03:42:54.917Z
Welcome to Cardano SE! As a new user be sure to take the [Tour].
gRebel
<plutus-pioneer-program><plutus-playground>
How to resolve npm build failure after running `GC_DONT_GC=1 npm start`?
# How to resolve npm build failure after running `GC_DONT_GC=1 npm start`?

(Asked by: username_0 on 2022-01-15)

MacOs Catalina 10.15.7 (Intel)
After facing issue here, I ran the command GC_DONT_GC=1 npm run start and it build some libraries, however failed with following error (plutus-playground-server was up and running):
79 silly inflate node_modules/@xtuc/ieee754
80 http fetch GET 200 https://registry.npmjs.org/@webassemblyjs%2fleb128 119ms (cache revalidated)
81 silly inflate node_modules/@xtuc/long
2686 error                         ^
2686 error ../src/libsass/src/ast.hpp:1616:14: note: use reference type 'const std::__1::basic_string &' to prevent copying
2686 error         for (const auto denominator : denominators)
2686 error              ^~~~~~~~~~~~~~~~~~~~~~~~
2686 error                         &
2686 error 2 warnings generated.
2686 error In file included from ../src/binding.cpp:1:
2686 error In file included from ../../nan/nan.h:56:
2686 error In file included from /Users/CrosbyTop/Library/Caches/node-gyp/17.0.1/include/node/node.h:63:
2686 error In file included from /Users/CrosbyTop/Library/Caches/node-gyp/17.0.1/include/node/v8.h:25:
2686 error In file included from /Users/CrosbyTop/Library/Caches/node-gyp/17.0.1/include/node/v8-array-buffer.h:12:
2686 error In file included from /Users/CrosbyTop/Library/Caches/node-gyp/17.0.1/include/node/v8-local-handle.h:12:
2686 error /Users/CrosbyTop/Library/Caches/node-gyp/17.0.1/include/node/v8-internal.h:566:38: error: no template named 'remove_cv_t' in namespace 'std'; did you mean 'remove_cv'?
2686 error             !std::is_same>::value>::Perform(data);
2686 error                                 ~~~~~^~~~~~~~~~~
2686 error                                      remove_cv
2686 error /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:697:50: note: 'remove_cv' declared here
2686 error template  struct _LIBCPP_TEMPLATE_VIS remove_cv
2686 error                                                  ^
2686 error 1 error generated.
2686 error make: *** [Release/obj.target/binding/src/binding.o] Error 1
2686 error gyp ERR! build error
2686 error gyp ERR! stack Error: `make` failed with exit code: 2
2686 error gyp ERR! stack     at ChildProcess.onExit (/Users/CrosbyTop/projects/cardano/ppp3/plutus-apps/plutus-playground-client/node_modules/node-gyp/lib/build.js:194:23)
2686 error gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
2686 error gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
2686 error gyp ERR! System Darwin 19.6.0
2686 error gyp ERR! command "/usr/local/Cellar/node/17.0.1/bin/node" "/Users/CrosbyTop/projects/cardano/ppp3/plutus-apps/plutus-playground-client/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
2686 error gyp ERR! cwd /Users/CrosbyTop/projects/cardano/ppp3/plutus-apps/plutus-playground-client/node_modules/node-sass
2686 error gyp ERR! node -v v17.0.1
2686 error gyp ERR! node-gyp -v v7.1.2
2686 error gyp ERR! not ok
2686 error Build failed with error code: 1
2687 verbose exit 1

**Tags:** plutus-pioneer-program, plutus-playground
> **Comments:**
> **username_1**: Welcome to Cardano SE! As a new user be sure to take the [Tour].  

---

## 1 answers

### Answer by username_0 on 2022-01-15. Score: 0

Actually, changing `node-sass` version to `^7.0.0` inside package-json helped me, however I am not sure it did not break any dependencies.
Node 17+ is not supported by node-sass ^5.

> **Comments:**
> **username_1**: Welcome to Cardano SE! As a new user be sure to take the [Tour].  

---

