Note: This was done with a vercel deploy with CRA defaults, however the same happens when cloning locally.
I used a fork which was my own however it is exactly the same as yours
Cloning completed: 493.947ms
19:16:25.657 | Looking up build cache...
19:16:25.889 | Build Cache not found
19:16:25.916 | Running "vercel build"
19:16:26.401 | Vercel CLI 28.2.2
19:16:26.629 | Installing dependencies...
19:16:26.975 | yarn install v1.22.17
19:16:27.057 | [1/4] Resolving packages...
19:16:27.589 | [2/4] Fetching packages...
19:16:44.151 | [3/4] Linking dependencies...
19:16:44.154 | warning " > @testing-library/[email protected]" has unmet peer dependency "@testing-library/dom@>=5".
19:17:04.170 | [4/4] Building fresh packages...
19:18:28.909 | error /vercel/path0/node_modules/node-sass: Command failed.
19:18:28.910 | Exit code: 1
19:18:28.910 | Command: node scripts/build.js
19:18:28.910 | Arguments:
19:18:28.910 | Directory: /vercel/path0/node_modules/node-sass
19:18:28.910 | Output:
19:18:28.912 | Building: /node16/bin/node /vercel/path0/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
19:18:28.912 | gyp info it worked if it ends with ok
19:18:28.912 | gyp verb cli [
19:18:28.912 | gyp verb cli '/node16/bin/node',
19:18:28.913 | gyp verb cli '/vercel/path0/node_modules/node-gyp/bin/node-gyp.js',
19:18:28.913 | gyp verb cli 'rebuild',
19:18:28.913 | gyp verb cli '--verbose',
19:18:28.913 | gyp verb cli '--libsass_ext=',
19:18:28.913 | gyp verb cli '--libsass_cflags=',
19:18:28.913 | gyp verb cli '--libsass_ldflags=',
19:18:28.913 | gyp verb cli '--libsass_library='
19:18:28.913 | gyp verb cli ]
...
( Large CMake logs cut out here )
...
19:18:28.965 | from /vercel/.node-gyp/16.15.0/include/node/node.h:63,
19:18:28.965 | from ../../nan/nan.h:56,
19:18:28.965 | from ../src/binding.cpp:1:
19:18:28.965 | /vercel/.node-gyp/16.15.0/include/node/v8-internal.h: In function ‘void v8::internal::PerformCastCheck(T*)’:
19:18:28.965 | /vercel/.node-gyp/16.15.0/include/node/v8-internal.h:492:38: error: ‘remove_cv_t’ is not a member of ‘std’
19:18:28.965 | !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
19:18:28.965 | ^~~~~~~~~~~
19:18:28.965 | /vercel/.node-gyp/16.15.0/include/node/v8-internal.h:492:38: note: suggested alternative: ‘remove_cv’
19:18:28.965 | !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
19:18:28.965 | ^~~~~~~~~~~
19:18:28.965 | remove_cv
19:18:28.965 | /vercel/.node-gyp/16.15.0/include/node/v8-internal.h:492:38: error: ‘remove_cv_t’ is not a member of ‘std’
19:18:28.965 | /vercel/.node-gyp/16.15.0/include/node/v8-internal.h:492:38: note: suggested alternative: ‘remove_cv’
19:18:28.965 | !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
19:18:28.965 | ^~~~~~~~~~~
19:18:28.966 | remove_cv
19:18:28.966 | /vercel/.node-gyp/16.15.0/include/node/v8-internal.h:492:50: error: template argument 2 is invalid
19:18:28.966 | !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
19:18:28.966 | ^
19:18:28.966 | /vercel/.node-gyp/16.15.0/include/node/v8-internal.h:492:63: error: ‘::Perform’ has not been declared
19:18:28.966 | !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
19:18:28.966 | ^~~~~~~
19:18:28.966 | /vercel/.node-gyp/16.15.0/include/node/v8-internal.h:492:63: note: suggested alternative: ‘herror’
19:18:28.966 | !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
19:18:28.966 | ^~~~~~~
19:18:28.966 | herror
19:18:28.966 | make: *** [Release/obj.target/binding/src/binding.o] Error 1
19:18:28.966 | make: Leaving directory `/vercel/path0/node_modules/node-sass/build'
19:18:28.966 | gyp ERR! build error
19:18:28.966 | gyp ERR! stack Error: `make` failed with exit code: 2
19:18:28.966 | gyp ERR! stack at ChildProcess.onExit (/vercel/path0/node_modules/node-gyp/lib/build.js:262:23)
19:18:28.966 | gyp ERR! stack at ChildProcess.emit (node:events:527:28)
19:18:28.966 | gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
19:18:28.966 | gyp ERR! System Linux 4.14.287-215.504.amzn2.x86_64
19:18:28.966 | gyp ERR! command "/node16/bin/node" "/vercel/path0/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
19:18:28.966 | gyp ERR! cwd /vercel/path0/node_modules/node-sass
19:18:28.967 | gyp ERR! node -v v16.15.0
19:18:28.967 | gyp ERR! node-gyp -v v3.8.0
19:18:28.967 | gyp ERR! not ok
19:18:28.967 | Build failed with error code: 1
19:18:28.967 | Error: Command "yarn install" exited with 1
19:18:28.981 | info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.