Home
Support Forums

Can't build vue 3 project from github

I can’t build a site from github, but when I build locally and upload the folder manually, works fine. Here are my logs. Thanks for your help.

4:18:20 PM:   g++ -o Release/obj.target/libsass/src/libsass/src/sass_functions.o ../src/libsass/src/sass_functions.cpp '-DNODE_GYP_MODULE_NAME=libsass' '-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' '-DLIBSASS_VERSION="3.5.5"' -I/opt/buildhome/.cache/node-gyp/16.7.0/include/node -I/opt/buildhome/.cache/node-gyp/16.7.0/src -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/config -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/openssl/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/uv/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/zlib -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/v8/include -I../src/libsass/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++14 -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/sass_functions.o.d.raw   -c
4:18:20 PM:   g++ -o Release/obj.target/libsass/src/libsass/src/sass_util.o ../src/libsass/src/sass_util.cpp '-DNODE_GYP_MODULE_NAME=libsass' '-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' '-DLIBSASS_VERSION="3.5.5"' -I/opt/buildhome/.cache/node-gyp/16.7.0/include/node -I/opt/buildhome/.cache/node-gyp/16.7.0/src -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/config -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/openssl/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/uv/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/zlib -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/v8/include -I../src/libsass/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++14 -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/sass_util.o.d.raw   -c
4:18:20 PM:   g++ -o Release/obj.target/libsass/src/libsass/src/sass_values.o ../src/libsass/src/sass_values.cpp '-DNODE_GYP_MODULE_NAME=libsass' '-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' '-DLIBSASS_VERSION="3.5.5"' -I/opt/buildhome/.cache/node-gyp/16.7.0/include/node -I/opt/buildhome/.cache/node-gyp/16.7.0/src -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/config -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/openssl/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/uv/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/zlib -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/v8/include -I../src/libsass/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++14 -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/sass_values.o.d.raw   -c
4:18:20 PM:   g++ -o Release/obj.target/libsass/src/libsass/src/source_map.o ../src/libsass/src/source_map.cpp '-DNODE_GYP_MODULE_NAME=libsass' '-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' '-DLIBSASS_VERSION="3.5.5"' -I/opt/buildhome/.cache/node-gyp/16.7.0/include/node -I/opt/buildhome/.cache/node-gyp/16.7.0/src -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/config -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/openssl/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/uv/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/zlib -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/v8/include -I../src/libsass/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++14 -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/source_map.o.d.raw   -c
4:18:20 PM:   g++ -o Release/obj.target/libsass/src/libsass/src/subset_map.o ../src/libsass/src/subset_map.cpp '-DNODE_GYP_MODULE_NAME=libsass' '-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' '-DLIBSASS_VERSION="3.5.5"' -I/opt/buildhome/.cache/node-gyp/16.7.0/include/node -I/opt/buildhome/.cache/node-gyp/16.7.0/src -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/config -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/openssl/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/uv/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/zlib -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/v8/include -I../src/libsass/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++14 -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/subset_map.o.d.raw   -c
4:18:20 PM:   g++ -o Release/obj.target/libsass/src/libsass/src/to_c.o ../src/libsass/src/to_c.cpp '-DNODE_GYP_MODULE_NAME=libsass' '-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' '-DLIBSASS_VERSION="3.5.5"' -I/opt/buildhome/.cache/node-gyp/16.7.0/include/node -I/opt/buildhome/.cache/node-gyp/16.7.0/src -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/config -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/openssl/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/uv/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/zlib -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/v8/include -I../src/libsass/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++14 -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/to_c.o.d.raw   -c
4:18:20 PM:   g++ -o Release/obj.target/libsass/src/libsass/src/to_value.o ../src/libsass/src/to_value.cpp '-DNODE_GYP_MODULE_NAME=libsass' '-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' '-DLIBSASS_VERSION="3.5.5"' -I/opt/buildhome/.cache/node-gyp/16.7.0/include/node -I/opt/buildhome/.cache/node-gyp/16.7.0/src -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/config -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/openssl/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/uv/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/zlib -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/v8/include -I../src/libsass/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++14 -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/to_value.o.d.raw   -c
4:18:20 PM:   g++ -o Release/obj.target/libsass/src/libsass/src/units.o ../src/libsass/src/units.cpp '-DNODE_GYP_MODULE_NAME=libsass' '-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' '-DLIBSASS_VERSION="3.5.5"' -I/opt/buildhome/.cache/node-gyp/16.7.0/include/node -I/opt/buildhome/.cache/node-gyp/16.7.0/src -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/config -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/openssl/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/uv/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/zlib -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/v8/include -I../src/libsass/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++14 -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/units.o.d.raw   -c
4:18:20 PM:   g++ -o Release/obj.target/libsass/src/libsass/src/utf8_string.o ../src/libsass/src/utf8_string.cpp '-DNODE_GYP_MODULE_NAME=libsass' '-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' '-DLIBSASS_VERSION="3.5.5"' -I/opt/buildhome/.cache/node-gyp/16.7.0/include/node -I/opt/buildhome/.cache/node-gyp/16.7.0/src -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/config -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/openssl/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/uv/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/zlib -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/v8/include -I../src/libsass/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++14 -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/utf8_string.o.d.raw   -c
4:18:20 PM:   g++ -o Release/obj.target/libsass/src/libsass/src/util.o ../src/libsass/src/util.cpp '-DNODE_GYP_MODULE_NAME=libsass' '-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' '-DLIBSASS_VERSION="3.5.5"' -I/opt/buildhome/.cache/node-gyp/16.7.0/include/node -I/opt/buildhome/.cache/node-gyp/16.7.0/src -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/config -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/openssl/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/uv/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/zlib -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/v8/include -I../src/libsass/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++14 -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/util.o.d.raw   -c
4:18:20 PM:   g++ -o Release/obj.target/libsass/src/libsass/src/values.o ../src/libsass/src/values.cpp '-DNODE_GYP_MODULE_NAME=libsass' '-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' '-DLIBSASS_VERSION="3.5.5"' -I/opt/buildhome/.cache/node-gyp/16.7.0/include/node -I/opt/buildhome/.cache/node-gyp/16.7.0/src -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/config -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/openssl/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/uv/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/zlib -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/v8/include -I../src/libsass/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++14 -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/values.o.d.raw   -c
4:18:20 PM:   rm -f Release/obj.target/src/sass.a && ar crs Release/obj.target/src/sass.a Release/obj.target/libsass/src/libsass/src/ast.o Release/obj.target/libsass/src/libsass/src/ast_fwd_decl.o Release/obj.target/libsass/src/libsass/src/backtrace.o Release/obj.target/libsass/src/libsass/src/base64vlq.o Release/obj.target/libsass/src/libsass/src/bind.o Release/obj.target/libsass/src/libsass/src/cencode.o Release/obj.target/libsass/src/libsass/src/check_nesting.o Release/obj.target/libsass/src/libsass/src/color_maps.o Release/obj.target/libsass/src/libsass/src/constants.o Release/obj.target/libsass/src/libsass/src/context.o Release/obj.target/libsass/src/libsass/src/cssize.o Release/obj.target/libsass/src/libsass/src/emitter.o Release/obj.target/libsass/src/libsass/src/environment.o Release/obj.target/libsass/src/libsass/src/error_handling.o Release/obj.target/libsass/src/libsass/src/eval.o Release/obj.target/libsass/src/libsass/src/expand.o Release/obj.target/libsass/src/libsass/src/extend.o Release/obj.target/libsass/src/libsass/src/file.o Release/obj.target/libsass/src/libsass/src/functions.o Release/obj.target/libsass/src/libsass/src/inspect.o Release/obj.target/libsass/src/libsass/src/json.o Release/obj.target/libsass/src/libsass/src/lexer.o Release/obj.target/libsass/src/libsass/src/listize.o Release/obj.target/libsass/src/libsass/src/memory/SharedPtr.o Release/obj.target/libsass/src/libsass/src/node.o Release/obj.target/libsass/src/libsass/src/operators.o Release/obj.target/libsass/src/libsass/src/output.o Release/obj.target/libsass/src/libsass/src/parser.o Release/obj.target/libsass/src/libsass/src/plugins.o Release/obj.target/libsass/src/libsass/src/position.o Release/obj.target/libsass/src/libsass/src/prelexer.o Release/obj.target/libsass/src/libsass/src/remove_placeholders.o Release/obj.target/libsass/src/libsass/src/sass.o Release/obj.target/libsass/src/libsass/src/sass2scss.o Release/obj.target/libsass/src/libsass/src/sass_context.o Release/obj.target/libsass/src/libsass/src/sass_functions.o Release/obj.target/libsass/src/libsass/src/sass_util.o Release/obj.target/libsass/src/libsass/src/sass_values.o Release/obj.target/libsass/src/libsass/src/source_map.o Release/obj.target/libsass/src/libsass/src/subset_map.o Release/obj.target/libsass/src/libsass/src/to_c.o Release/obj.target/libsass/src/libsass/src/to_value.o Release/obj.target/libsass/src/libsass/src/units.o Release/obj.target/libsass/src/libsass/src/utf8_string.o Release/obj.target/libsass/src/libsass/src/util.o Release/obj.target/libsass/src/libsass/src/values.o
4:18:20 PM:   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")
4:18:20 PM:   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/opt/buildhome/.cache/node-gyp/16.7.0/include/node -I/opt/buildhome/.cache/node-gyp/16.7.0/src -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/config -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/openssl/openssl/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/uv/include -I/opt/buildhome/.cache/node-gyp/16.7.0/deps/zlib -I/opt/buildhome/.cache/node-gyp/16.7.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++14 -std=c++0x -MMD -MF ./Release/.deps/Release/obj.target/binding/src/binding.o.d.raw   -c
4:18:20 PM: In file included from /opt/buildhome/.cache/node-gyp/16.7.0/include/node/v8.h:30,
4:18:20 PM:                  from /opt/buildhome/.cache/node-gyp/16.7.0/include/node/node.h:63,
4:18:20 PM:                  from ../../nan/nan.h:56,
4:18:20 PM:                  from ../src/binding.cpp:1:
4:18:20 PM: /opt/buildhome/.cache/node-gyp/16.7.0/include/node/v8-internal.h: In function β€˜void v8::internal::PerformCastCheck(T*)’:
4:18:20 PM: /opt/buildhome/.cache/node-gyp/16.7.0/include/node/v8-internal.h:488:38: error: β€˜remove_cv_t’ is not a member of β€˜std’; did you mean β€˜remove_cv’?
4:18:20 PM:   488 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
4:18:20 PM:       |                                      ^~~~~~~~~~~
4:18:20 PM:       |                                      remove_cv
4:18:20 PM: /opt/buildhome/.cache/node-gyp/16.7.0/include/node/v8-internal.h:488:38: error: β€˜remove_cv_t’ is not a member of β€˜std’; did you mean β€˜remove_cv’?
4:18:20 PM:   488 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
4:18:20 PM:       |                                      ^~~~~~~~~~~
4:18:20 PM:       |                                      remove_cv
4:18:20 PM: /opt/buildhome/.cache/node-gyp/16.7.0/include/node/v8-internal.h:488:50: error: template argument 2 is invalid
4:18:20 PM:   488 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
4:18:20 PM:       |                                                  ^
4:18:20 PM: /opt/buildhome/.cache/node-gyp/16.7.0/include/node/v8-internal.h:488:63: error: β€˜::Perform’ has not been declared
4:18:20 PM:   488 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
4:18:20 PM:       |                                                               ^~~~~~~
4:18:20 PM: ../src/binding.cpp: In function β€˜Nan::NAN_METHOD_RETURN_TYPE render(Nan::NAN_METHOD_ARGS_TYPE)’:
4:18:20 PM: ../src/binding.cpp:284:98: warning: cast between incompatible function types from β€˜void (*)(uv_work_t*)’ {aka β€˜void (*)(uv_work_s*)’} to β€˜uv_after_work_cb’ {aka β€˜void (*)(uv_work_s*, int)’} [-Wcast-function-type]
4:18:20 PM:   284 |     int status = uv_queue_work(uv_default_loop(), &ctx_w->request, compile_it, (uv_after_work_cb)MakeCallback);
4:18:20 PM:       |                                                                                                  ^~~~~~~~~~~~
4:18:20 PM: ../src/binding.cpp: In function β€˜Nan::NAN_METHOD_RETURN_TYPE render_file(Nan::NAN_METHOD_ARGS_TYPE)’:
4:18:20 PM: ../src/binding.cpp:320:98: warning: cast between incompatible function types from β€˜void (*)(uv_work_t*)’ {aka β€˜void (*)(uv_work_s*)’} to β€˜uv_after_work_cb’ {aka β€˜void (*)(uv_work_s*, int)’} [-Wcast-function-type]
4:18:20 PM:   320 |     int status = uv_queue_work(uv_default_loop(), &ctx_w->request, compile_it, (uv_after_work_cb)MakeCallback);
4:18:20 PM:       |                                                                                                  ^~~~~~~~~~~~
4:18:20 PM: In file included from ../../nan/nan.h:56,
4:18:20 PM:                  from ../src/binding.cpp:1:
4:18:20 PM: ../src/binding.cpp: At global scope:
4:18:20 PM: /opt/buildhome/.cache/node-gyp/16.7.0/include/node/node.h:806:43: warning: cast between incompatible function types from β€˜void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka β€˜void (*)(v8::Local<v8::Object>)’} to β€˜node::addon_register_func’ {aka β€˜void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
4:18:20 PM:   806 |       (node::addon_register_func) (regfunc),                          \
4:18:20 PM:       |                                           ^
4:18:20 PM: /opt/buildhome/.cache/node-gyp/16.7.0/include/node/node.h:840:3: note: in expansion of macro β€˜NODE_MODULE_X’
4:18:20 PM:   840 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
4:18:20 PM:       |   ^~~~~~~~~~~~~
4:18:20 PM: ../src/binding.cpp:358:1: note: in expansion of macro β€˜NODE_MODULE’
4:18:20 PM:   358 | NODE_MODULE(binding, RegisterModule);
4:18:20 PM:       | ^~~~~~~~~~~
4:18:20 PM: make: *** [binding.target.mk:133: Release/obj.target/binding/src/binding.o] Error 1
4:18:20 PM: make: Leaving directory '/opt/build/repo/node_modules/node-sass/build'
4:18:20 PM: gyp ERR! build error
4:18:20 PM: gyp ERR! stack Error: `make` failed with exit code: 2
4:18:20 PM: gyp ERR! stack     at ChildProcess.onExit (/opt/build/repo/node_modules/node-gyp/lib/build.js:194:23)
4:18:20 PM: gyp ERR! stack     at ChildProcess.emit (node:events:394:28)
4:18:20 PM: gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
4:18:20 PM: gyp ERR! System Linux 4.19.167+
4:18:20 PM: gyp ERR! command "/opt/buildhome/.nvm/versions/node/v16.7.0/bin/node" "/opt/build/repo/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
4:18:20 PM: gyp ERR! cwd /opt/build/repo/node_modules/node-sass
4:18:20 PM: gyp ERR! node -v v16.7.0
4:18:20 PM: gyp ERR! node-gyp -v v7.1.2
4:18:20 PM: gyp ERR! not ok
4:18:20 PM: Build failed with error code: 1
4:18:20 PM: Error during Yarn install
4:18:20 PM: Build was terminated: Build script returned non-zero exit code: 1
4:18:21 PM: Failing build: Failed to build site
4:18:21 PM: Finished processing build request in 3m20.011480094s

Hi @MasterYoda

Are you able to share your git repository?

@coelmay I can’t it’s a private repo

Can you make your deploy log public and share the link to it. Partial logs don’t tell the whole story.

@coelmy I can’t find any option of how to make logs public…where is that option ?

Apologies @MasterYoda, public logs are only available on public git repositories. Private repositories have private logs (which makes sense.)

@coelmay so the only solution is set git repo as public ?

That is one solution @MasterYoda, but not the only solution.
Another is to post your full deploy log here in the hope that I or others can see where the error stems from and possibly provide further assistance.
Another option is to create another minimal git repository that replicates the error without divulging your entire project codebase.
Another is to wait for a Netlify Support Engineer who may have further insights.

This is yet another node-gyp error. I think, the fix that worked for most of them was one of the following:

  1. Remove node_modules and package-lock.json from the repo.
  2. Use the latest build image.
  3. Use a newer Node version.

Let us know if something works from that.

1 Like

@hrishikesh thanks…I will try your suggestion.

@hrishikesh not working for me…still the same problem

[-Wcatch-value=]
2:39:42 PM: npm ERR!   424 |   catch (std::exception) {
2:39:42 PM: npm ERR!       |               ^~~~~~~~~
2:39:42 PM: npm ERR! In file included from /opt/buildhome/.cache/node-gyp/16.8.0/include/node/v8.h:30,
2:39:42 PM: npm ERR!                  from /opt/buildhome/.cache/node-gyp/16.8.0/include/node/node.h:63,
2:39:42 PM: npm ERR!                  from ../../nan/nan.h:58,
2:39:42 PM: npm ERR!                  from ../src/binding.cpp:1:
2:39:42 PM: npm ERR! /opt/buildhome/.cache/node-gyp/16.8.0/include/node/v8-internal.h: In function β€˜void v8::internal::PerformCastCheck(T*)’:
2:39:42 PM: npm ERR! /opt/buildhome/.cache/node-gyp/16.8.0/include/node/v8-internal.h:488:38: error: β€˜remove_cv_t’ is not a member of β€˜std’; did you mean β€˜remove_cv’?
2:39:42 PM: npm ERR!   488 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
2:39:42 PM: npm ERR!       |                                      ^~~~~~~~~~~
2:39:42 PM: npm ERR!       |                                      remove_cv
2:39:42 PM: npm ERR! /opt/buildhome/.cache/node-gyp/16.8.0/include/node/v8-internal.h:488:38: error: β€˜remove_cv_t’ is not a member of β€˜std’; did you mean β€˜remove_cv’?
2:39:42 PM: npm ERR!   488 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
2:39:42 PM: npm ERR!       |                                      ^~~~~~~~~~~
2:39:42 PM: npm ERR!       |                                      remove_cv
2:39:42 PM: npm ERR! /opt/buildhome/.cache/node-gyp/16.8.0/include/node/v8-internal.h:488:50: error: template argument 2 is invalid
2:39:42 PM: npm ERR!   488 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
2:39:42 PM: npm ERR!       |                                                  ^
2:39:42 PM: npm ERR! /opt/buildhome/.cache/node-gyp/16.8.0/include/node/v8-internal.h:488:63: error: β€˜::Perform’ has not been declared
2:39:42 PM: npm ERR!   488 |             !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
2:39:42 PM: npm ERR!       |                                                               ^~~~~~~
2:39:42 PM: npm ERR! ../src/binding.cpp: In function β€˜Nan::NAN_METHOD_RETURN_TYPE render(Nan::NAN_METHOD_ARGS_TYPE)’:
2:39:42 PM: npm ERR! ../src/binding.cpp:284:98: warning: cast between incompatible function types from β€˜void (*)(uv_work_t*)’ {aka β€˜void (*)(uv_work_s*)’} to β€˜uv_after_work_cb’ {aka β€˜void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2:39:42 PM: npm ERR!   284 |     int status = uv_queue_work(uv_default_loop(), &ctx_w->request, compile_it, (uv_after_work_cb)MakeCallback);
2:39:42 PM: npm ERR!       |                                                                                                  ^~~~~~~~~~~~
2:39:42 PM: npm ERR! ../src/binding.cpp: In function β€˜Nan::NAN_METHOD_RETURN_TYPE render_file(Nan::NAN_METHOD_ARGS_TYPE)’:
2:39:42 PM: npm ERR! ../src/binding.cpp:320:98: warning: cast between incompatible function types from β€˜void (*)(uv_work_t*)’ {aka β€˜void (*)(uv_work_s*)’} to β€˜uv_after_work_cb’ {aka β€˜void (*)(uv_work_s*, int)’} [-Wcast-function-type]
2:39:42 PM: npm ERR!   320 |     int status = uv_queue_work(uv_default_loop(), &ctx_w->request, compile_it, (uv_after_work_cb)MakeCallback);
2:39:42 PM: npm ERR!       |                                                                                                  ^~~~~~~~~~~~
2:39:42 PM: npm ERR! In file included from ../../nan/nan.h:58,
2:39:42 PM: npm ERR!                  from ../src/binding.cpp:1:
2:39:42 PM: npm ERR! ../src/binding.cpp: At global scope:
2:39:42 PM: npm ERR! /opt/buildhome/.cache/node-gyp/16.8.0/include/node/node.h:810:43: warning: cast between incompatible function types from β€˜void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka β€˜void (*)(v8::Local<v8::Object>)’} to β€˜node::addon_register_func’ {aka β€˜void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
2:39:42 PM: npm ERR!   810 |       (node::addon_register_func) (regfunc),                          \
2:39:42 PM: npm ERR!       |                                           ^
2:39:42 PM: npm ERR! /opt/buildhome/.cache/node-gyp/16.8.0/include/node/node.h:844:3: note: in expansion of macro β€˜NODE_MODULE_X’
2:39:42 PM: npm ERR!   844 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
2:39:42 PM: npm ERR!       |   ^~~~~~~~~~~~~
2:39:42 PM: npm ERR! ../src/binding.cpp:358:1: note: in expansion of macro β€˜NODE_MODULE’
2:39:42 PM: npm ERR!   358 | NODE_MODULE(binding, RegisterModule);
2:39:42 PM: npm ERR!       | ^~~~~~~~~~~
2:39:42 PM: npm ERR! make: *** [binding.target.mk:133: Release/obj.target/binding/src/binding.o] Error 1
2:39:42 PM: npm ERR! gyp ERR! build error
2:39:42 PM: npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
2:39:42 PM: npm ERR! gyp ERR! stack     at ChildProcess.onExit (/opt/build/repo/node_modules/node-gyp/lib/build.js:194:23)
2:39:42 PM: npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:394:28)
2:39:42 PM: npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
2:39:42 PM: npm ERR! gyp ERR! System Linux 4.19.167+
2:39:42 PM: npm ERR! gyp ERR! command "/opt/buildhome/.nvm/versions/node/v16.8.0/bin/node" "/opt/build/repo/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
2:39:42 PM: npm ERR! gyp ERR! cwd /opt/build/repo/node_modules/node-sass
2:39:42 PM: npm ERR! gyp ERR! node -v v16.8.0
2:39:42 PM: npm ERR! gyp ERR! node-gyp -v v7.1.2
2:39:42 PM: npm ERR! gyp ERR! not ok
2:39:42 PM: npm ERR! Build failed with error code: 1
2:39:42 PM: npm ERR! A complete log of this run can be found in:
2:39:42 PM: npm ERR!     /opt/buildhome/.npm/_logs/2021-08-27T18_39_42_638Z-debug.log
2:39:42 PM: Error during NPM install
2:39:42 PM: Build was terminated: Build script returned non-zero exit code: 1
2:39:45 PM: Failing build: Failed to build site
2:39:45 PM: Finished processing build request in 2m59.719133014s

Could you try downgrading your node version through an environment variable to a v14 version, e.g.

@coelmay now gives me this error after try your suggest:

12:33:15 PM: ────────────────────────────────────────────────────────────────
12:33:15 PM:   1. Build command from Netlify app                             
12:33:15 PM: ────────────────────────────────────────────────────────────────
12:33:15 PM: ​
12:33:15 PM: $ npm run build
12:33:15 PM: > vue-argon-dashboard@2.0.0 build /opt/build/repo
12:33:15 PM: > vue-cli-service build
12:33:16 PM:  ERROR  TypeError: Cannot read property 'version' of undefined
12:33:16 PM: TypeError: Cannot read property 'version' of undefined
12:33:16 PM:     at module.exports (/opt/build/repo/node_modules/@vue/cli-plugin-eslint/index.js:20:27)
12:33:16 PM:     at /opt/build/repo/node_modules/@vue/cli-service/lib/Service.js:78:7
12:33:16 PM:     at Array.forEach (<anonymous>)
12:33:16 PM:     at Service.init (/opt/build/repo/node_modules/@vue/cli-service/lib/Service.js:76:18)
12:33:16 PM:     at Service.run (/opt/build/repo/node_modules/@vue/cli-service/lib/Service.js:215:10)
12:33:16 PM:     at Object.<anonymous> (/opt/build/repo/node_modules/@vue/cli-service/bin/vue-cli-service.js:36:9)
12:33:16 PM:     at Module._compile (internal/modules/cjs/loader.js:1085:14)
12:33:16 PM:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
12:33:16 PM:     at Module.load (internal/modules/cjs/loader.js:950:32)
12:33:16 PM:     at Function.Module._load (internal/modules/cjs/loader.js:790:14)
12:33:16 PM: npm ERR! code ELIFECYCLE
12:33:16 PM: npm ERR! errno 1
12:33:16 PM: npm ERR! vue-argon-dashboard@2.0.0 build: `vue-cli-service build`
12:33:16 PM: npm ERR! Exit status 1
12:33:16 PM: npm ERR!
12:33:16 PM: npm ERR! Failed at the vue-argon-dashboard@2.0.0 build script.
12:33:16 PM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
12:33:16 PM: npm ERR! A complete log of this run can be found in:
12:33:16 PM: npm ERR!     /opt/buildhome/.npm/_logs/2021-08-28T16_33_16_216Z-debug.log
12:33:16 PM: ────────────────────────────────────────────────────────────────
12:33:16 PM:   "build.command" failed                                        
12:33:16 PM: ────────────────────────────────────────────────────────────────
12:33:16 PM: ​
12:33:16 PM:   Error message
12:33:16 PM:   Command failed with exit code 1: npm run build
12:33:16 PM: ​
12:33:16 PM:   Error location
12:33:16 PM:   In Build command from Netlify app:
12:33:16 PM:   npm run build
12:33:16 PM: ​
12:33:16 PM:   Resolved config
12:33:16 PM:   build:
12:33:16 PM:     command: npm run build
12:33:16 PM:     commandOrigin: ui
12:33:16 PM:     environment:
12:33:16 PM:       - NODE_VERSION
12:33:16 PM:     publish: /opt/build/repo/dist
12:33:16 PM:     publishOrigin: ui
12:33:16 PM: Caching artifacts
12:33:16 PM: Started saving node modules
12:33:16 PM: Finished saving node modules
12:33:16 PM: Started saving build plugins
12:33:16 PM: Finished saving build plugins
12:33:16 PM: Started saving pip cache
12:33:16 PM: Finished saving pip cache
12:33:16 PM: Started saving emacs cask dependencies
12:33:16 PM: Finished saving emacs cask dependencies
12:33:16 PM: Started saving maven dependencies
12:33:16 PM: Finished saving maven dependencies
12:33:16 PM: Started saving boot dependencies
12:33:16 PM: Finished saving boot dependencies
12:33:16 PM: Started saving rust rustup cache
12:33:16 PM: Finished saving rust rustup cache
12:33:16 PM: Started saving go dependencies
12:33:16 PM: Finished saving go dependencies
12:33:19 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
12:33:19 PM: Creating deploy upload records
12:33:19 PM: Failing build: Failed to build site
12:33:19 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2
12:33:19 PM: Finished processing build request in 59.965040001s
Docs
Pricing
Support
News
Terms
Β© 2021 Netlify

Hi @MasterYoda,

That’s as far as we can guess without seeing a repo. Could you share one?

@hrishikesh Here I share the logs

Netlify App

@hrishikesh Public repo now

According to this:

I changed your dependency and now it works. It still companies about some warnings, but the build succeeds. You also had multiple dependencies duplicated, so I’ve now consolidated your package.json like this:

{
  "name": "vue-argon-dashboard",
  "version": "2.0.0",
  "private": true,
  "scripts": {
    "build": "vue-cli-service build",
    "lint": "vue-cli-service lint",
    "serve": "vue-cli-service serve"
  },
  "dependencies": {
    "@vue/cli-plugin-babel": "4.5.10",
    "@vue/cli-plugin-eslint": "4.5.10",
    "@vue/cli-plugin-router": "4.5.10",
    "@vue/cli-service-global": "4.5.13",
    "@vue/compiler-sfc": "3.0.5",
    "@vue/eslint-config-prettier": "6.0.0",
    "axios": "^0.21.1",
    "babel-eslint": "10.1.0",
    "babel-plugin-component": "1.1.1",
    "bootstrap": "4.6.0",
    "bootstrap-vue": "2.15.0",
    "chart.js": "2.9.4",
    "core-js": "3.6.5",
    "element-plus": "1.0.1-beta.24",
    "eslint-plugin-prettier": "3.3.1",
    "eslint-plugin-vue": "7.4.1",
    "google-maps": "4.3.3",
    "node-sass": "5.0.0",
    "nouislider": "14.6.0",
    "prettier": "2.2.1",
    "sass-loader": "10.1.1",
    "secure-webstore": "^1.3.6",
    "vee-validate": "^4.4.7",
    "vue": "3.0.5",
    "vue-axios": "^3.2.5",
    "vue-router": "4.0.1",
    "vue-toastification": "^2.0.0-rc.1"
  }
}

@hrishikesh still not building here in netlify…I replace my old package json with the one you share…and its giving errors…logs are public so you can check the links.