Closed smiilliin closed 1 year ago
I'm trying to install headless gl on debian linux 11 and node v18.15.0
I have installed all dependencies
sudo apt install -y python build-essential libxi-dev libglu1-mesa-dev libglew-dev pkg-config libglfw3-dev
But I got the following building error:
npm install headless-gl
npm ERR! code 2 npm ERR! path /home/smile/yt-stream/node_modules/headless-gl npm ERR! command failed npm ERR! command sh -c prebuild --install npm ERR! make: Entering directory '/home/smile/yt-stream/node_modules/headless-gl/build' npm ERR! CXX(target) Release/obj.target/angle_common/angle/src/common/Float16ToFloat32.o npm ERR! CXX(target) Release/obj.target/angle_common/angle/src/common/MemoryBuffer.o npm ERR! CXX(target) Release/obj.target/angle_common/angle/src/common/angleutils.o npm ERR! CXX(target) Release/obj.target/angle_common/angle/src/common/debug.o npm ERR! CXX(target) Release/obj.target/angle_common/angle/src/common/mathutil.o npm ERR! CXX(target) Release/obj.target/angle_common/angle/src/common/string_utils.o npm ERR! CXX(target) Release/obj.target/angle_common/angle/src/common/tls.o npm ERR! CXX(target) Release/obj.target/angle_common/angle/src/common/utilities.o npm ERR! AR(target) Release/obj.target/angle/src/angle_common.a npm ERR! COPY Release/angle_common.a npm ERR! COPY Release/obj/gen/angle/id/commit.h npm ERR! TOUCH Release/obj.target/angle/src/commit_id.stamp npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/common/event_tracer.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/AttributeMap.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Buffer.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Caps.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Compiler.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Config.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Context.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Data.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Debug.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Device.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Display.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Error.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Fence.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Framebuffer.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/FramebufferAttachment.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/HandleAllocator.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Image.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/ImageIndex.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/IndexRangeCache.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Platform.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Program.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Query.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Renderbuffer.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/ResourceManager.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Sampler.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Shader.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/State.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Stream.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Surface.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Texture.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/TransformFeedback.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Uniform.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/VertexArray.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/VertexAttribute.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/angletypes.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/formatutils.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/queryconversions.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/DeviceImpl.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/DisplayImpl.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/Renderer.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/SurfaceImpl.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/validationEGL.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/validationES.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/validationES2.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/validationES3.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/third_party/murmurhash/MurmurHash3.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/BlitGL.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/BufferGL.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/CompilerGL.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/DisplayGL.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/FenceNVGL.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/FenceSyncGL.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/FramebufferGL.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/FunctionsGL.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/ProgramGL.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/QueryGL.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/RenderbufferGL.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/RendererGL.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/SamplerGL.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/ShaderGL.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/StateManagerGL.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/SurfaceGL.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/TextureGL.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/TransformFeedbackGL.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/VertexArrayGL.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/formatutilsgl.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/renderergl_utils.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/glx/DisplayGLX.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/glx/FunctionsGLX.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/glx/PbufferSurfaceGLX.o npm ERR! CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/glx/WindowSurfaceGLX.o npm ERR! AR(target) Release/obj.target/angle/src/ANGLE.a npm ERR! COPY Release/ANGLE.a npm ERR! CXX(target) Release/obj.target/libEGL/angle/src/libEGL/libEGL.o npm ERR! AR(target) Release/obj.target/angle/src/EGL.a npm ERR! COPY Release/EGL.a npm ERR! CXX(target) Release/obj.target/libGLESv2/angle/src/libGLESv2/entry_points_egl.o npm ERR! CXX(target) Release/obj.target/libGLESv2/angle/src/libGLESv2/entry_points_egl_ext.o npm ERR! CXX(target) Release/obj.target/libGLESv2/angle/src/libGLESv2/entry_points_gles_2_0.o npm ERR! CXX(target) Release/obj.target/libGLESv2/angle/src/libGLESv2/entry_points_gles_2_0_ext.o npm ERR! CXX(target) Release/obj.target/libGLESv2/angle/src/libGLESv2/entry_points_gles_3_0.o npm ERR! CXX(target) Release/obj.target/libGLESv2/angle/src/libGLESv2/global_state.o npm ERR! CXX(target) Release/obj.target/libGLESv2/angle/src/libGLESv2/libGLESv2.o npm ERR! AR(target) Release/obj.target/angle/src/GLESv2.a npm ERR! COPY Release/GLESv2.a npm ERR! CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/DiagnosticsBase.o npm ERR! CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/DirectiveHandlerBase.o npm ERR! CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/DirectiveParser.o npm ERR! CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/ExpressionParser.o npm ERR! CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/Input.o npm ERR! CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/Lexer.o npm ERR! CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/Macro.o npm ERR! CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/MacroExpander.o npm ERR! CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/Preprocessor.o npm ERR! CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/Token.o npm ERR! CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/Tokenizer.o npm ERR! AR(target) Release/obj.target/angle/src/preprocessor.a npm ERR! COPY Release/preprocessor.a npm ERR! CC(target) Release/obj.target/libXNVCtrl/angle/src/third_party/libXNVCtrl/NVCtrl.o npm ERR! AR(target) Release/obj.target/angle/src/third_party/libXNVCtrl/XNVCtrl.a npm ERR! COPY Release/XNVCtrl.a npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/BuiltInFunctionEmulator.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/Cache.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/CallDAG.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/CodeGen.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/Compiler.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/Diagnostics.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/DirectiveHandler.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/EmulatePrecision.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/FlagStd140Structs.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ForLoopUnroll.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/InfoSink.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/Initialize.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/InitializeDll.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/InitializeParseContext.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/InitializeVariables.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/IntermNode.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/IntermTraverse.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/Intermediate.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/LoopInfo.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/Operator.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ParseContext.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/PoolAlloc.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/PruneEmptyDeclarations.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/RecordConstantPrecision.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/RegenerateStructNames.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/RemovePow.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/RewriteDoWhile.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ScalarizeVecAndMatConstructorArgs.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/SearchSymbol.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/SymbolTable.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/Types.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/UnfoldShortCircuitAST.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ValidateGlobalInitializer.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ValidateLimitations.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ValidateMaxParameters.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ValidateOutputs.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ValidateSwitch.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/VariableInfo.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/VariablePacker.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/blocklayout.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/depgraph/DependencyGraph.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/depgraph/DependencyGraphBuilder.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/depgraph/DependencyGraphOutput.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/depgraph/DependencyGraphTraverse.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/glslang_lex.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/glslang_tab.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/intermOut.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/timing/RestrictFragmentShaderTiming.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/timing/RestrictVertexShaderTiming.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/util.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/third_party/compiler/ArrayBoundsClamper.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/OutputESSL.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/TranslatorESSL.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/BuiltInFunctionEmulatorGLSL.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ExtensionGLSL.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/OutputGLSL.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/OutputGLSLBase.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/TranslatorGLSL.o npm ERR! CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/VersionGLSL.o npm ERR! AR(target) Release/obj.target/angle/src/translator_lib.a npm ERR! COPY Release/translator_lib.a npm ERR! CXX(target) Release/obj.target/translator_static/angle/src/compiler/translator/ShaderLang.o npm ERR! CXX(target) Release/obj.target/translator_static/angle/src/compiler/translator/ShaderVars.o npm ERR! AR(target) Release/obj.target/angle/src/translator_static.a npm ERR! COPY Release/translator_static.a npm ERR! CXX(target) Release/obj.target/webgl/src/bindings.o npm ERR! make: Leaving directory '/home/smile/yt-stream/node_modules/headless-gl/build' npm ERR! prebuild info begin Prebuild version 5.1.2 npm ERR! prebuild http GET https://nodejs.org/download/release/v18.15.0/node-v18.15.0-headers.tar.gz npm ERR! prebuild http 200 https://nodejs.org/download/release/v18.15.0/node-v18.15.0-headers.tar.gz npm ERR! prebuild http GET https://nodejs.org/download/release/v18.15.0/SHASUMS256.txt npm ERR! prebuild http 200 https://nodejs.org/download/release/v18.15.0/SHASUMS256.txt npm ERR! (node:14556) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only. npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created) npm ERR! prebuild info spawn /usr/bin/python2 npm ERR! prebuild info spawn args [ npm ERR! prebuild info spawn args '/home/smile/yt-stream/node_modules/prebuild/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! prebuild info spawn args 'binding.gyp', npm ERR! prebuild info spawn args '-f', npm ERR! prebuild info spawn args 'make', npm ERR! prebuild info spawn args '-I', npm ERR! prebuild info spawn args '/home/smile/yt-stream/node_modules/headless-gl/build/config.gypi', npm ERR! prebuild info spawn args '-I', npm ERR! prebuild info spawn args '/home/smile/yt-stream/node_modules/prebuild/node_modules/node-gyp/addon.gypi', npm ERR! prebuild info spawn args '-I', npm ERR! prebuild info spawn args '/home/smile/yt-stream/node_modules/headless-gl/18.15.0/include/node/common.gypi', npm ERR! prebuild info spawn args '-Dlibrary=shared_library', npm ERR! prebuild info spawn args '-Dvisibility=default', npm ERR! prebuild info spawn args '-Dnode_root_dir=/home/smile/yt-stream/node_modules/headless-gl/18.15.0', npm ERR! prebuild info spawn args '-Dnode_gyp_dir=/home/smile/yt-stream/node_modules/prebuild/node_modules/node-gyp', npm ERR! prebuild info spawn args '-Dnode_lib_file=/home/smile/yt-stream/node_modules/headless-gl/18.15.0/<(target_arch)/node.lib', npm ERR! prebuild info spawn args '-Dmodule_root_dir=/home/smile/yt-stream/node_modules/headless-gl', npm ERR! prebuild info spawn args '-Dnode_engine=v8', npm ERR! prebuild info spawn args '--depth=.', npm ERR! prebuild info spawn args '--no-parallel', npm ERR! prebuild info spawn args '--generator-output', npm ERR! prebuild info spawn args 'build', npm ERR! prebuild info spawn args '-Goutput_dir=.' npm ERR! prebuild info spawn args ] npm ERR! prebuild info spawn make npm ERR! prebuild info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] npm ERR! ../angle/src/libANGLE/formatutils.cpp: In function ‘gl::VertexFormatType gl::GetVertexFormatType(GLenum, GLboolean, GLuint, bool)’: npm ERR! ../angle/src/libANGLE/formatutils.cpp:821:13: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 821 | switch (components) npm ERR! | ^~~~~~ npm ERR! ../angle/src/libANGLE/formatutils.cpp:851:9: note: here npm ERR! 851 | case GL_UNSIGNED_BYTE: npm ERR! | ^~~~ npm ERR! ../angle/src/libANGLE/formatutils.cpp:852:13: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 852 | switch (components) npm ERR! | ^~~~~~ npm ERR! ../angle/src/libANGLE/formatutils.cpp:882:9: note: here npm ERR! 882 | case GL_SHORT: npm ERR! | ^~~~ npm ERR! ../angle/src/libANGLE/formatutils.cpp:883:13: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 883 | switch (components) npm ERR! | ^~~~~~ npm ERR! ../angle/src/libANGLE/formatutils.cpp:913:9: note: here npm ERR! 913 | case GL_UNSIGNED_SHORT: npm ERR! | ^~~~ npm ERR! ../angle/src/libANGLE/formatutils.cpp:914:13: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 914 | switch (components) npm ERR! | ^~~~~~ npm ERR! ../angle/src/libANGLE/formatutils.cpp:944:9: note: here npm ERR! 944 | case GL_INT: npm ERR! | ^~~~ npm ERR! ../angle/src/libANGLE/formatutils.cpp:945:13: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 945 | switch (components) npm ERR! | ^~~~~~ npm ERR! ../angle/src/libANGLE/formatutils.cpp:975:9: note: here npm ERR! 975 | case GL_UNSIGNED_INT: npm ERR! | ^~~~ npm ERR! ../angle/src/libANGLE/formatutils.cpp:976:13: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 976 | switch (components) npm ERR! | ^~~~~~ npm ERR! ../angle/src/libANGLE/formatutils.cpp:1006:9: note: here npm ERR! 1006 | case GL_FLOAT: npm ERR! | ^~~~ npm ERR! ../angle/src/libANGLE/formatutils.cpp:1007:13: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 1007 | switch (components) npm ERR! | ^~~~~~ npm ERR! ../angle/src/libANGLE/formatutils.cpp:1021:9: note: here npm ERR! 1021 | case GL_HALF_FLOAT: npm ERR! | ^~~~ npm ERR! ../angle/src/libANGLE/formatutils.cpp:1022:13: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 1022 | switch (components) npm ERR! | ^~~~~~ npm ERR! ../angle/src/libANGLE/formatutils.cpp:1036:9: note: here npm ERR! 1036 | case GL_FIXED: npm ERR! | ^~~~ npm ERR! ../angle/src/libANGLE/formatutils.cpp:1037:13: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 1037 | switch (components) npm ERR! | ^~~~~~ npm ERR! ../angle/src/libANGLE/formatutils.cpp:1051:9: note: here npm ERR! 1051 | case GL_INT_2_10_10_10_REV: npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp: In function ‘void MurmurHash3_x86_32(const void*, int, uint32_t, void*)’: npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:134:14: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 134 | case 3: k1 ^= tail[2] << 16; npm ERR! | ~~~^~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:135:3: note: here npm ERR! 135 | case 2: k1 ^= tail[1] << 8; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:135:14: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 135 | case 2: k1 ^= tail[1] << 8; npm ERR! | ~~~^~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:136:3: note: here npm ERR! 136 | case 1: k1 ^= tail[0]; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp: In function ‘void MurmurHash3_x86_128(const void*, int, uint32_t, void*)’: npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:209:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 209 | case 15: k4 ^= tail[14] << 16; npm ERR! | ~~~^~~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:210:3: note: here npm ERR! 210 | case 14: k4 ^= tail[13] << 8; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:210:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 210 | case 14: k4 ^= tail[13] << 8; npm ERR! | ~~~^~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:211:3: note: here npm ERR! 211 | case 13: k4 ^= tail[12] << 0; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:212:56: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 212 | k4 *= c4; k4 = ROTL32(k4,18); k4 *= c1; h4 ^= k4; npm ERR! | ~~~^~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:214:3: note: here npm ERR! 214 | case 12: k3 ^= tail[11] << 24; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:214:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 214 | case 12: k3 ^= tail[11] << 24; npm ERR! | ~~~^~~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:215:3: note: here npm ERR! 215 | case 11: k3 ^= tail[10] << 16; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:215:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 215 | case 11: k3 ^= tail[10] << 16; npm ERR! | ~~~^~~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:216:3: note: here npm ERR! 216 | case 10: k3 ^= tail[ 9] << 8; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:216:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 216 | case 10: k3 ^= tail[ 9] << 8; npm ERR! | ~~~^~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:217:3: note: here npm ERR! 217 | case 9: k3 ^= tail[ 8] << 0; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:218:56: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 218 | k3 *= c3; k3 = ROTL32(k3,17); k3 *= c4; h3 ^= k3; npm ERR! | ~~~^~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:220:3: note: here npm ERR! 220 | case 8: k2 ^= tail[ 7] << 24; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:220:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 220 | case 8: k2 ^= tail[ 7] << 24; npm ERR! | ~~~^~~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:221:3: note: here npm ERR! 221 | case 7: k2 ^= tail[ 6] << 16; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:221:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 221 | case 7: k2 ^= tail[ 6] << 16; npm ERR! | ~~~^~~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:222:3: note: here npm ERR! 222 | case 6: k2 ^= tail[ 5] << 8; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:222:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 222 | case 6: k2 ^= tail[ 5] << 8; npm ERR! | ~~~^~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:223:3: note: here npm ERR! 223 | case 5: k2 ^= tail[ 4] << 0; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:224:56: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 224 | k2 *= c2; k2 = ROTL32(k2,16); k2 *= c3; h2 ^= k2; npm ERR! | ~~~^~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:226:3: note: here npm ERR! 226 | case 4: k1 ^= tail[ 3] << 24; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:226:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 226 | case 4: k1 ^= tail[ 3] << 24; npm ERR! | ~~~^~~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:227:3: note: here npm ERR! 227 | case 3: k1 ^= tail[ 2] << 16; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:227:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 227 | case 3: k1 ^= tail[ 2] << 16; npm ERR! | ~~~^~~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:228:3: note: here npm ERR! 228 | case 2: k1 ^= tail[ 1] << 8; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:228:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 228 | case 2: k1 ^= tail[ 1] << 8; npm ERR! | ~~~^~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:229:3: note: here npm ERR! 229 | case 1: k1 ^= tail[ 0] << 0; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp: In function ‘void MurmurHash3_x64_128(const void*, int, uint32_t, void*)’: npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:298:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 298 | case 15: k2 ^= ((uint64_t)tail[14]) << 48; npm ERR! | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:299:3: note: here npm ERR! 299 | case 14: k2 ^= ((uint64_t)tail[13]) << 40; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:299:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 299 | case 14: k2 ^= ((uint64_t)tail[13]) << 40; npm ERR! | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:300:3: note: here npm ERR! 300 | case 13: k2 ^= ((uint64_t)tail[12]) << 32; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:300:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 300 | case 13: k2 ^= ((uint64_t)tail[12]) << 32; npm ERR! | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:301:3: note: here npm ERR! 301 | case 12: k2 ^= ((uint64_t)tail[11]) << 24; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:301:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 301 | case 12: k2 ^= ((uint64_t)tail[11]) << 24; npm ERR! | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:302:3: note: here npm ERR! 302 | case 11: k2 ^= ((uint64_t)tail[10]) << 16; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:302:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 302 | case 11: k2 ^= ((uint64_t)tail[10]) << 16; npm ERR! | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:303:3: note: here npm ERR! 303 | case 10: k2 ^= ((uint64_t)tail[ 9]) << 8; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:303:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 303 | case 10: k2 ^= ((uint64_t)tail[ 9]) << 8; npm ERR! | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:304:3: note: here npm ERR! 304 | case 9: k2 ^= ((uint64_t)tail[ 8]) << 0; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:305:56: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 305 | k2 *= c2; k2 = ROTL64(k2,33); k2 *= c1; h2 ^= k2; npm ERR! | ~~~^~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:307:3: note: here npm ERR! 307 | case 8: k1 ^= ((uint64_t)tail[ 7]) << 56; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:307:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 307 | case 8: k1 ^= ((uint64_t)tail[ 7]) << 56; npm ERR! | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:308:3: note: here npm ERR! 308 | case 7: k1 ^= ((uint64_t)tail[ 6]) << 48; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:308:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 308 | case 7: k1 ^= ((uint64_t)tail[ 6]) << 48; npm ERR! | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:309:3: note: here npm ERR! 309 | case 6: k1 ^= ((uint64_t)tail[ 5]) << 40; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:309:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 309 | case 6: k1 ^= ((uint64_t)tail[ 5]) << 40; npm ERR! | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:310:3: note: here npm ERR! 310 | case 5: k1 ^= ((uint64_t)tail[ 4]) << 32; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:310:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 310 | case 5: k1 ^= ((uint64_t)tail[ 4]) << 32; npm ERR! | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:311:3: note: here npm ERR! 311 | case 4: k1 ^= ((uint64_t)tail[ 3]) << 24; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:311:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 311 | case 4: k1 ^= ((uint64_t)tail[ 3]) << 24; npm ERR! | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:312:3: note: here npm ERR! 312 | case 3: k1 ^= ((uint64_t)tail[ 2]) << 16; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:312:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 312 | case 3: k1 ^= ((uint64_t)tail[ 2]) << 16; npm ERR! | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:313:3: note: here npm ERR! 313 | case 2: k1 ^= ((uint64_t)tail[ 1]) << 8; npm ERR! | ^~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:313:15: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 313 | case 2: k1 ^= ((uint64_t)tail[ 1]) << 8; npm ERR! | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../angle/src/third_party/murmurhash/MurmurHash3.cpp:314:3: note: here npm ERR! 314 | case 1: k1 ^= ((uint64_t)tail[ 0]) << 0; npm ERR! | ^~~~ npm ERR! In file included from ../angle/src/compiler/preprocessor/DirectiveParser.cpp:17: npm ERR! ../angle/src/compiler/preprocessor/MacroExpander.h:86:10: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] npm ERR! 86 | std::auto_ptr<Token> mReserveToken; npm ERR! | ^~~~~~~~ npm ERR! In file included from /usr/include/c++/10/memory:83, npm ERR! from ../angle/src/compiler/preprocessor/MacroExpander.h:11, npm ERR! from ../angle/src/compiler/preprocessor/DirectiveParser.cpp:17: npm ERR! /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here npm ERR! 57 | template<typename> class auto_ptr; npm ERR! | ^~~~~~~~ npm ERR! In file included from ../angle/src/compiler/preprocessor/MacroExpander.cpp:7: npm ERR! ../angle/src/compiler/preprocessor/MacroExpander.h:86:10: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] npm ERR! 86 | std::auto_ptr<Token> mReserveToken; npm ERR! | ^~~~~~~~ npm ERR! In file included from /usr/include/c++/10/memory:83, npm ERR! from ../angle/src/compiler/preprocessor/MacroExpander.h:11, npm ERR! from ../angle/src/compiler/preprocessor/MacroExpander.cpp:7: npm ERR! /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here npm ERR! 57 | template<typename> class auto_ptr; npm ERR! | ^~~~~~~~ npm ERR! In file included from ../angle/src/compiler/preprocessor/Preprocessor.cpp:14: npm ERR! ../angle/src/compiler/preprocessor/MacroExpander.h:86:10: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] npm ERR! 86 | std::auto_ptr<Token> mReserveToken; npm ERR! | ^~~~~~~~ npm ERR! In file included from /usr/include/c++/10/memory:83, npm ERR! from ../angle/src/compiler/preprocessor/MacroExpander.h:11, npm ERR! from ../angle/src/compiler/preprocessor/Preprocessor.cpp:14: npm ERR! /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here npm ERR! 57 | template<typename> class auto_ptr; npm ERR! | ^~~~~~~~ npm ERR! ../angle/src/compiler/translator/ParseContext.cpp: In member function ‘bool TParseContext::binaryOpCommonCheck(TOperator, TIntermTyped*, TIntermTyped*, const TSourceLoc&)’: npm ERR! ../angle/src/compiler/translator/ParseContext.cpp:3655:13: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 3655 | if ((mShaderVersion < 300 || op == EOpAssign || op == EOpInitialize) && npm ERR! | ^~ npm ERR! ../angle/src/compiler/translator/ParseContext.cpp:3662:9: note: here npm ERR! 3662 | case EOpLessThan: npm ERR! | ^~~~ npm ERR! ../src/bindings.cc: In function ‘void Init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’: npm ERR! ../src/bindings.cc:480:35: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’ npm ERR! 480 | , webgl_template->GetFunction()); npm ERR! | ^ npm ERR! In file included from /home/smile/yt-stream/node_modules/headless-gl/18.15.0/include/node/v8-function.h:15, npm ERR! from /home/smile/yt-stream/node_modules/headless-gl/18.15.0/include/node/v8.h:33, npm ERR! from /home/smile/yt-stream/node_modules/headless-gl/18.15.0/include/node/node.h:73, npm ERR! from ../src/webgl.h:9, npm ERR! from ../src/bindings.cc:9: npm ERR! /home/smile/yt-stream/node_modules/headless-gl/18.15.0/include/node/v8-template.h:513:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’ npm ERR! 513 | V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction( npm ERR! | ^~~~~~~~~~~ npm ERR! /home/smile/yt-stream/node_modules/headless-gl/18.15.0/include/node/v8-template.h:513:46: note: candidate expects 1 argument, 0 provided npm ERR! In file included from ../src/webgl.h:9, npm ERR! from ../src/bindings.cc:9: npm ERR! ../src/bindings.cc: At global scope: npm ERR! /home/smile/yt-stream/node_modules/headless-gl/18.15.0/include/node/node.h:978:7: 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] npm ERR! 978 | (node::addon_register_func) (regfunc), \ npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! /home/smile/yt-stream/node_modules/headless-gl/18.15.0/include/node/node.h:1012:3: note: in expansion of macro ‘NODE_MODULE_X’ npm ERR! 1012 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) npm ERR! | ^~~~~~~~~~~~~ npm ERR! ../src/bindings.cc:487:1: note: in expansion of macro ‘NODE_MODULE’ npm ERR! 487 | NODE_MODULE(webgl, Init) npm ERR! | ^~~~~~~~~~~ npm ERR! make: *** [webgl.target.mk:126: Release/obj.target/webgl/src/bindings.o] Error 1 npm ERR! prebuild ERR! build error npm ERR! prebuild ERR! stack Error: `make` failed with exit code: 2 npm ERR! prebuild ERR! stack at ChildProcess.onExit (/home/smile/yt-stream/node_modules/prebuild/node_modules/node-gyp/lib/build.js:262:23) npm ERR! prebuild ERR! stack at ChildProcess.emit (node:events:513:28) npm ERR! prebuild ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12) npm ERR! prebuild ERR! not ok npm ERR! prebuild ERR! build Error: `make` failed with exit code: 2 npm ERR! prebuild ERR! build at ChildProcess.onExit (/home/smile/yt-stream/node_modules/prebuild/node_modules/node-gyp/lib/build.js:262:23) npm ERR! prebuild ERR! build at ChildProcess.emit (node:events:513:28) npm ERR! prebuild ERR! build at ChildProcess._handle.onexit (node:internal/child_process:291:12) npm ERR! A complete log of this run can be found in: npm ERR! /home/smile/.npm/_logs/2023-04-02T07_05_33_189Z-debug-0.log
I think I've now spotted the error. The package for this repo on npm is gl, not headless-gl. Headless gl may have been published accidentally at some point 6 years ago.
gl
headless-gl
Try running npm install gl instead.
npm install gl
I'm trying to install headless gl on debian linux 11 and node v18.15.0
I have installed all dependencies
But I got the following building error: