You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have nodejs 16.0 and g++ 11.0.1 20210324. When I try to initialize with the package manager bootstrap, it tries to compile node-sass by using node-gyp. Compiling fails with:
ln -f "Release/obj.target/src/sass.a" "Release/sass.a" 2>/dev/null || (rm -rf "Release/sass.a" && cp -af "Release/obj.target/src/sass.a" "Release/sass.a")
g++ -o Release/obj.target/binding/src/binding.o ../src/binding.cpp '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64'
'-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/home/d/.cache/node-gyp/16.0.0/include/node -I/home/d/.cache/node-gyp/16.0.0/src -I/home/d/.cache/node-gyp/16.0.0/deps/openssl/config -I/home/d/.cache/node-gyp/16.0.0/deps/openssl/openssl/include -I/home/d/.cache/node-gyp/16.0.0/deps/uv/include -I/home/d/.cache/node-gyp/16.0.0/deps/zlib -I/home/d/.cache/node-gyp/16.0.0/deps/v8/include -I../../nan -I../src/libsass/include
-fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -std=c++0x -MMD -MF ./Release/.deps/Release/obj.target/binding/src/binding.o.d.raw -c
In file included from /home/d/.cache/node-gyp/16.0.0/include/node/v8.h:30,
from /home/d/.cache/node-gyp/16.0.0/include/node/node.h:63,
from ../../nan/nan.h:56,
from ../src/binding.cpp:1:
/home/d/.cache/node-gyp/16.0.0/include/node/v8-internal.h: In function ‘void v8::internal::PerformCastCheck(T*)’:
/home/d/.cache/node-gyp/16.0.0/include/node/v8-internal.h:452:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?
452 | !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
| ^~~~~~~~~~~
| remove_cv
/home/d/.cache/node-gyp/16.0.0/include/node/v8-internal.h:452:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’?
452 | !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
| ^~~~~~~~~~~
| remove_cv
/home/d/.cache/node-gyp/16.0.0/include/node/v8-internal.h:452:50: error: template argument 2 is invalid
452 | !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
| ^
/home/d/.cache/node-gyp/16.0.0/include/node/v8-internal.h:452:63: error: ‘::Perform’ has not been declared
452 | !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
| ^~~~~~~
Platform: Linux.
The text was updated successfully, but these errors were encountered:
I have nodejs 16.0 and g++ 11.0.1 20210324. When I try to initialize with the package manager bootstrap, it tries to compile node-sass by using node-gyp. Compiling fails with:
Platform: Linux.
The text was updated successfully, but these errors were encountered: