mifi / editly

Slick, declarative command line video editing & API
MIT License
4.8k stars 313 forks source link

Build fails on latest NodeJS (MacOS Ventura, Intel) #249

Closed ecc521 closed 1 year ago

ecc521 commented 1 year ago

Works with nodejs 14 (using prebuild binaries though, so it may not actually work), fails on nodejs 19.9. Haven't tested intermediate versions.

Unless I'm reading something wrong, this appears to be bubbling up from the gl module.

Log below:

0 verbose cli /Users/username/.nvm/versions/node/v19.9.0/bin/node /Users/username/.nvm/versions/node/v19.9.0/bin/npm 1 info using npm@9.6.3 2 info using node@v19.9.0 3 timing npm:load:whichnode Completed in 3ms 4 timing config:load:defaults Completed in 2ms 5 timing config:load:file:/Users/username/.nvm/versions/node/v19.9.0/lib/node_modules/npm/npmrc Completed in 1ms 6 timing config:load:builtin Completed in 1ms 7 timing config:load:cli Completed in 2ms 8 timing config:load:env Completed in 0ms 9 timing config:load:file:/Users/username/path/editly/.npmrc Completed in 0ms 10 timing config:load:project Completed in 5ms 11 timing config:load:file:/Users/username/.npmrc Completed in 1ms 12 timing config:load:user Completed in 2ms 13 timing config:load:file:/Users/username/.nvm/versions/node/v19.9.0/etc/npmrc Completed in 0ms 14 timing config:load:global Completed in 0ms 15 timing config:load:setEnvs Completed in 1ms 16 timing config:load Completed in 13ms 17 timing npm:load:configload Completed in 13ms 18 timing npm:load:mkdirpcache Completed in 0ms 19 timing npm:load:mkdirplogs Completed in 1ms 20 verbose title npm rebuild 21 verbose argv "rebuild" 22 timing npm:load:setTitle Completed in 21ms 23 timing config:load:flatten Completed in 4ms 24 timing npm:load:display Completed in 5ms 25 verbose logfile logs-max:10 dir:/Users/username/.npm/_logs/2023-04-18T12_03_23_610Z- 26 verbose logfile /Users/username/.npm/_logs/2023-04-18T12_03_23_610Z-debug-0.log 27 timing npm:load:logFile Completed in 9ms 28 timing npm:load:timers Completed in 0ms 29 timing npm:load:configScope Completed in 0ms 30 timing npm:load Completed in 52ms 31 timing arborist:ctor Completed in 0ms 32 silly logfile start cleaning logs, removing 1 files 33 silly logfile done cleaning log files 34 timing arborist:ctor Completed in 0ms 35 timing build:queue Completed in 13ms 36 timing build:link: Completed in 2ms 37 timing build:link:node_modules/@mapbox/node-pre-gyp Completed in 3ms 38 timing build:link:node_modules/acorn Completed in 2ms 39 timing build:link:node_modules/color-support Completed in 2ms 40 timing build:link:node_modules/escodegen Completed in 2ms 41 timing build:link:node_modules/eslint Completed in 2ms 42 timing build:link:node_modules/esprima Completed in 2ms 43 timing build:link:node_modules/js-yaml Completed in 2ms 44 timing build:link:node_modules/json5 Completed in 2ms 45 timing build:link:node_modules/mkdirp Completed in 2ms 46 timing build:link:node_modules/nanoid Completed in 2ms 47 timing build:link:node_modules/node-gyp Completed in 2ms 48 timing build:link:node_modules/nopt Completed in 2ms 49 timing build:link:node_modules/prebuild-install Completed in 1ms 50 timing build:link:node_modules/rc Completed in 1ms 51 timing build:link:node_modules/resolve Completed in 1ms 52 timing build:link:node_modules/rimraf Completed in 1ms 53 timing build:link:node_modules/semver Completed in 1ms 54 timing build:link:node_modules/which Completed in 1ms 55 timing build:link:node_modules/acorn-globals/node_modules/acorn Completed in 1ms 56 timing build:link:node_modules/eslint-config-airbnb-base/node_modules/semver Completed in 1ms 57 timing build:link:node_modules/eslint-plugin-import/node_modules/semver Completed in 1ms 58 timing build:link:node_modules/make-dir/node_modules/semver Completed in 1ms 59 timing build:link:node_modules/node-gyp/node_modules/nopt Completed in 1ms 60 timing build:link:node_modules/tsconfig-paths/node_modules/json5 Completed in 2ms 61 timing build:link Completed in 4ms 62 info run canvas@2.11.2 install node_modules/canvas node-pre-gyp install --fallback-to-build --update-binary 63 info run gl@5.0.3 install node_modules/gl prebuild-install || node-gyp rebuild 64 info run canvas@2.11.2 install { code: 0, signal: null } 65 timing build:run:install:node_modules/canvas Completed in 1526ms 66 info run gl@5.0.3 install { code: 1, signal: null } 67 timing command:rebuild Completed in 255760ms 68 verbose stack Error: command failed 68 verbose stack at ChildProcess. (/Users/username/.nvm/versions/node/v19.9.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27) 68 verbose stack at ChildProcess.emit (node:events:513:28) 68 verbose stack at maybeClose (node:internal/child_process:1098:16) 68 verbose stack at Socket. (node:internal/child_process:456:11) 68 verbose stack at Socket.emit (node:events:513:28) 68 verbose stack at Pipe. (node:net:332:12) 69 verbose pkgid gl@5.0.3 70 verbose cwd /Users/username/path/editly 71 verbose Darwin 22.3.0 72 verbose node v19.9.0 73 verbose npm v9.6.3 74 error code 1 75 error path /Users/username/path/editly/node_modules/gl 76 error command failed 77 error command sh -c prebuild-install || node-gyp rebuild 78 error CXX(target) Release/obj.target/angle_common/angle/src/common/Float16ToFloat32.o 78 error CXX(target) Release/obj.target/angle_common/angle/src/common/MemoryBuffer.o 78 error CXX(target) Release/obj.target/angle_common/angle/src/common/angleutils.o 78 error CXX(target) Release/obj.target/angle_common/angle/src/common/debug.o 78 error CXX(target) Release/obj.target/angle_common/angle/src/common/mathutil.o 78 error CXX(target) Release/obj.target/angle_common/angle/src/common/string_utils.o 78 error CXX(target) Release/obj.target/angle_common/angle/src/common/tls.o 78 error CXX(target) Release/obj.target/angle_common/angle/src/common/utilities.o 78 error LIBTOOL-STATIC Release/angle_common.a 78 error COPY Release/obj/gen/angle/id/commit.h 78 error TOUCH Release/obj.target/angle/src/commit_id.stamp 78 error CXX(target) Release/obj.target/libANGLE/angle/src/common/event_tracer.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/AttributeMap.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Buffer.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Caps.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Compiler.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Config.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Context.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Data.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Debug.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Device.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Display.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Error.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Fence.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Framebuffer.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/FramebufferAttachment.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/HandleAllocator.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Image.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/ImageIndex.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/IndexRangeCache.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Platform.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Program.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Query.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Renderbuffer.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/ResourceManager.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Sampler.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Shader.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/State.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Stream.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Surface.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Texture.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/TransformFeedback.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Uniform.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/VertexArray.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/VertexAttribute.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/angletypes.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/formatutils.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/queryconversions.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/DeviceImpl.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/DisplayImpl.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/Renderer.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/SurfaceImpl.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/validationEGL.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/validationES.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/validationES2.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/validationES3.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/third_party/murmurhash/MurmurHash3.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/BlitGL.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/BufferGL.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/CompilerGL.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/DisplayGL.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/FenceNVGL.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/FenceSyncGL.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/FramebufferGL.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/FunctionsGL.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/ProgramGL.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/QueryGL.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/RenderbufferGL.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/RendererGL.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/SamplerGL.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/ShaderGL.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/StateManagerGL.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/SurfaceGL.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/TextureGL.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/TransformFeedbackGL.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/VertexArrayGL.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/formatutilsgl.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/renderergl_utils.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/cgl/DisplayCGL.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/cgl/PbufferSurfaceCGL.o 78 error CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/renderer/gl/cgl/WindowSurfaceCGL.o 78 error LIBTOOL-STATIC Release/ANGLE.a 78 error CXX(target) Release/obj.target/libEGL/angle/src/libEGL/libEGL.o 78 error LIBTOOL-STATIC Release/EGL.a 78 error CXX(target) Release/obj.target/libGLESv2/angle/src/libGLESv2/entry_points_egl.o 78 error CXX(target) Release/obj.target/libGLESv2/angle/src/libGLESv2/entry_points_egl_ext.o 78 error CXX(target) Release/obj.target/libGLESv2/angle/src/libGLESv2/entry_points_gles_2_0.o 78 error CXX(target) Release/obj.target/libGLESv2/angle/src/libGLESv2/entry_points_gles_2_0_ext.o 78 error CXX(target) Release/obj.target/libGLESv2/angle/src/libGLESv2/entry_points_gles_3_0.o 78 error CXX(target) Release/obj.target/libGLESv2/angle/src/libGLESv2/global_state.o 78 error CXX(target) Release/obj.target/libGLESv2/angle/src/libGLESv2/libGLESv2.o 78 error LIBTOOL-STATIC Release/GLESv2.a 78 error CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/DiagnosticsBase.o 78 error CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/DirectiveHandlerBase.o 78 error CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/DirectiveParser.o 78 error CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/ExpressionParser.o 78 error CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/Input.o 78 error CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/Lexer.o 78 error CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/Macro.o 78 error CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/MacroExpander.o 78 error CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/Preprocessor.o 78 error CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/Token.o 78 error CXX(target) Release/obj.target/preprocessor/angle/src/compiler/preprocessor/Tokenizer.o 78 error LIBTOOL-STATIC Release/preprocessor.a 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/BuiltInFunctionEmulator.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/Cache.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/CallDAG.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/CodeGen.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/Compiler.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/Diagnostics.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/DirectiveHandler.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/EmulatePrecision.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/FlagStd140Structs.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ForLoopUnroll.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/InfoSink.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/Initialize.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/InitializeDll.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/InitializeParseContext.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/InitializeVariables.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/IntermNode.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/IntermTraverse.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/Intermediate.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/LoopInfo.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/Operator.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ParseContext.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/PoolAlloc.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/PruneEmptyDeclarations.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/RecordConstantPrecision.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/RegenerateStructNames.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/RemovePow.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/RewriteDoWhile.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ScalarizeVecAndMatConstructorArgs.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/SearchSymbol.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/SymbolTable.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/Types.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/UnfoldShortCircuitAST.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ValidateGlobalInitializer.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ValidateLimitations.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ValidateMaxParameters.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ValidateOutputs.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ValidateSwitch.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/VariableInfo.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/VariablePacker.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/blocklayout.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/depgraph/DependencyGraph.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/depgraph/DependencyGraphBuilder.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/depgraph/DependencyGraphOutput.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/depgraph/DependencyGraphTraverse.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/glslang_lex.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/glslang_tab.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/intermOut.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/timing/RestrictFragmentShaderTiming.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/timing/RestrictVertexShaderTiming.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/util.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/third_party/compiler/ArrayBoundsClamper.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/OutputESSL.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/TranslatorESSL.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/BuiltInFunctionEmulatorGLSL.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/ExtensionGLSL.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/OutputGLSL.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/OutputGLSLBase.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/TranslatorGLSL.o 78 error CXX(target) Release/obj.target/translator_lib/angle/src/compiler/translator/VersionGLSL.o 78 error LIBTOOL-STATIC Release/translator_lib.a 78 error CXX(target) Release/obj.target/translator_static/angle/src/compiler/translator/ShaderLang.o 78 error CXX(target) Release/obj.target/translator_static/angle/src/compiler/translator/ShaderVars.o 78 error LIBTOOL-STATIC Release/translator_static.a 78 error CXX(target) Release/obj.target/webgl/src/native/bindings.o 79 error prebuild-install warn install No prebuilt binaries found (target=19.9.0 runtime=node arch=x64 libc= platform=darwin) 79 error gyp info it worked if it ends with ok 79 error gyp info using node-gyp@9.3.1 79 error gyp info using node@19.9.0 | darwin | x64 79 error gyp info find Python using Python version 3.11.3 found at "/usr/local/opt/python@3.11/bin/python3.11" 79 error gyp info spawn /usr/local/opt/python@3.11/bin/python3.11 79 error gyp info spawn args [ 79 error gyp info spawn args '/Users/username/path/editly/node_modules/node-gyp/gyp/gyp_main.py', 79 error gyp info spawn args 'binding.gyp', 79 error gyp info spawn args '-f', 79 error gyp info spawn args 'make', 79 error gyp info spawn args '-I', 79 error gyp info spawn args '/Users/username/path/editly/node_modules/gl/build/config.gypi', 79 error gyp info spawn args '-I', 79 error gyp info spawn args '/Users/username/path/editly/node_modules/node-gyp/addon.gypi', 79 error gyp info spawn args '-I', 79 error gyp info spawn args '/Users/username/Library/Caches/node-gyp/19.9.0/include/node/common.gypi', 79 error gyp info spawn args '-Dlibrary=shared_library', 79 error gyp info spawn args '-Dvisibility=default', 79 error gyp info spawn args '-Dnode_root_dir=/Users/username/Library/Caches/node-gyp/19.9.0', 79 error gyp info spawn args '-Dnode_gyp_dir=/Users/username/path/editly/node_modules/node-gyp', 79 error gyp info spawn args '-Dnode_lib_file=/Users/username/Library/Caches/node-gyp/19.9.0/<(target_arch)/node.lib', 79 error gyp info spawn args '-Dmodule_root_dir=/Users/username/path/editly/node_modules/gl', 79 error gyp info spawn args '-Dnode_engine=v8', 79 error gyp info spawn args '--depth=.', 79 error gyp info spawn args '--no-parallel', 79 error gyp info spawn args '--generator-output', 79 error gyp info spawn args 'build', 79 error gyp info spawn args '-Goutput_dir=.' 79 error gyp info spawn args ] 79 error gyp info spawn make 79 error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] 79 error ../angle/src/libANGLE/Program.cpp:2505:49: warning: instantiation of variable 'gl::GLTypeToGLenum::value' required here, but no definition is available [-Wundefined-var-template] 79 error if (componentType == GLTypeToGLenum::value) 79 error ^ 79 error ../angle/src/libANGLE/Program.cpp:1263:5: note: in instantiation of function template specialization 'gl::Program::getUniformInternal' requested here 79 error getUniformInternal(location, v); 79 error ^ 79 error ../angle/src/libANGLE/queryconversions.h:26:19: note: forward declaration of template entity is here 79 error static GLenum value; 79 error ^ 79 error ../angle/src/libANGLE/Program.cpp:2505:49: note: add an explicit instantiation declaration to suppress this warning if 'gl::GLTypeToGLenum::value' is explicitly instantiated in another translation unit 79 error if (componentType == GLTypeToGLenum::value) 79 error ^ 79 error ../angle/src/libANGLE/Program.cpp:2505:49: warning: instantiation of variable 'gl::GLTypeToGLenum::value' required here, but no definition is available [-Wundefined-var-template] 79 error if (componentType == GLTypeToGLenum::value) 79 error ^ 79 error ../angle/src/libANGLE/Program.cpp:1268:5: note: in instantiation of function template specialization 'gl::Program::getUniformInternal' requested here 79 error getUniformInternal(location, v); 79 error ^ 79 error ../angle/src/libANGLE/queryconversions.h:26:19: note: forward declaration of template entity is here 79 error static GLenum value; 79 error ^ 79 error ../angle/src/libANGLE/Program.cpp:2505:49: note: add an explicit instantiation declaration to suppress this warning if 'gl::GLTypeToGLenum::value' is explicitly instantiated in another translation unit 79 error if (componentType == GLTypeToGLenum::value) 79 error ^ 79 error ../angle/src/libANGLE/Program.cpp:2505:49: warning: instantiation of variable 'gl::GLTypeToGLenum::value' required here, but no definition is available [-Wundefined-var-template] 79 error if (componentType == GLTypeToGLenum::value) 79 error ^ 79 error ../angle/src/libANGLE/Program.cpp:1273:5: note: in instantiation of function template specialization 'gl::Program::getUniformInternal' requested here 79 error getUniformInternal(location, v); 79 error ^ 79 error ../angle/src/libANGLE/queryconversions.h:26:19: note: forward declaration of template entity is here 79 error static GLenum value; 79 error ^ 79 error ../angle/src/libANGLE/Program.cpp:2505:49: note: add an explicit instantiation declaration to suppress this warning if 'gl::GLTypeToGLenum::value' is explicitly instantiated in another translation unit 79 error if (componentType == GLTypeToGLenum::value) 79 error ^ 79 error 3 warnings generated. 79 error In file included from ../angle/src/compiler/preprocessor/DirectiveParser.cpp:17: 79 error ../angle/src/compiler/preprocessor/MacroExpander.h:86:10: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] 79 error std::auto_ptr mReserveToken; 79 error ^ 79 error /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory/auto_ptr.h:30:28: note: 'auto_ptr' has been explicitly marked deprecated here 79 error class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr 79 error ^ 79 error /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/config:825:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' 79 error # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED 79 error ^ 79 error /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/config:810:49: note: expanded from macro '_LIBCPP_DEPRECATED' 79 error # define _LIBCPP_DEPRECATED attribute((deprecated)) 79 error ^ 79 error 1 warning generated. 79 error ../angle/src/compiler/preprocessor/ExpressionParser.cpp:1100:9: warning: variable 'ppnerrs' set but not used [-Wunused-but-set-variable] 79 error int yynerrs; 79 error ^ 79 error ../angle/src/compiler/preprocessor/ExpressionParser.cpp:67:25: note: expanded from macro 'yynerrs' 79 error #define yynerrs ppnerrs 79 error ^ 79 error 1 warning generated. 79 error In file included from ../angle/src/compiler/preprocessor/MacroExpander.cpp:7: 79 error ../angle/src/compiler/preprocessor/MacroExpander.h:86:10: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] 79 error std::auto_ptr mReserveToken; 79 error ^ 79 error /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory/auto_ptr.h:30:28: note: 'auto_ptr' has been explicitly marked deprecated here 79 error class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr 79 error ^ 79 error /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/config:825:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' 79 error # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED 79 error ^ 79 error /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/config:810:49: note: expanded from macro '_LIBCPP_DEPRECATED' 79 error # define _LIBCPP_DEPRECATED attribute((deprecated)) 79 error ^ 79 error 1 warning generated. 79 error In file included from ../angle/src/compiler/preprocessor/Preprocessor.cpp:14: 79 error ../angle/src/compiler/preprocessor/MacroExpander.h:86:10: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] 79 error std::auto_ptr mReserveToken; 79 error ^ 79 error /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory/auto_ptr.h:30:28: note: 'auto_ptr' has been explicitly marked deprecated here 79 error class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr 79 error ^ 79 error /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/config:825:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' 79 error # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED 79 error ^ 79 error /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/config:810:49: note: expanded from macro '_LIBCPP_DEPRECATED' 79 error # define _LIBCPP_DEPRECATED attribute__((deprecated)) 79 error ^ 79 error 1 warning generated. 79 error ./Tokenizer.cpp:1531:16: warning: function 'yyinput' is not needed and will not be emitted [-Wunneeded-internal-declaration] 79 error static int yyinput (yyscan_t yyscanner) 79 error ^ 79 error 1 warning generated. 79 error ../angle/src/compiler/translator/CallDAG.cpp:29:13: warning: variable 'skipped' set but not used [-Wunused-but-set-variable] 79 error int skipped = 0; 79 error ^ 79 error 1 warning generated. 79 error ../angle/src/compiler/translator/glslang_tab.cpp:2103:9: warning: variable 'yynerrs' set but not used [-Wunused-but-set-variable] 79 error int yynerrs; 79 error ^ 79 error 1 warning generated. 79 error In file included from ../src/native/bindings.cc:9: 79 error In file included from ../src/native/webgl.h:9: 79 error In file included from /Users/username/Library/Caches/node-gyp/19.9.0/include/node/node.h:73: 79 error In file included from /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8.h:24: 79 error In file included from /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-array-buffer.h:12: 79 error In file included from /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-local-handle.h:12: 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-internal.h:477:30: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] 79 error SHARED_EXTERNAL_POINTER_TAGS(CHECK_SHARED_EXTERNAL_POINTER_TAGS) 79 error ^ 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-internal.h:477:30: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-internal.h:477:30: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-internal.h:477:30: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-internal.h:477:30: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] 79 error PER_ISOLATE_EXTERNAL_POINTER_TAGS(CHECK_NON_SHARED_EXTERNAL_POINTER_TAGS) 79 error ^ 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-internal.h:659:61: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] 79 error static_assert(kJSObjectType + 1 == kFirstJSApiObjectType); 79 error ^ 79 error , "" 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-internal.h:660:55: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] 79 error static_assert(kJSObjectType < kLastJSApiObjectType); 79 error ^ 79 error , "" 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-internal.h:661:63: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] 79 error static_assert(kFirstJSApiObjectType < kLastJSApiObjectType); 79 error ^ 79 error , "" 79 error In file included from ../src/native/bindings.cc:9: 79 error In file included from ../src/native/webgl.h:9: 79 error In file included from /Users/username/Library/Caches/node-gyp/19.9.0/include/node/node.h:73: 79 error In file included from /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8.h:24: 79 error In file included from /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-array-buffer.h:13: 79 error In file included from /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-object.h:9: 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-maybe.h:106:45: error: no template named 'is_lvalue_reference_v' in namespace 'std'; did you mean 'is_lvalue_reference'? 79 error template <class U, std::enable_if_t<!std::is_lvalue_reference_v>> 79 error ~^~~~~ 79 error is_lvalue_reference 79 error /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits/is_reference.h:26:29: note: 'is_lvalue_reference' declared here 79 error struct _LIBCPP_TEMPLATE_VIS is_lvalue_reference : _BoolConstant<is_lvalue_reference(_Tp)> { }; 79 error ^ 79 error In file included from ../src/native/bindings.cc:9: 79 error In file included from ../src/native/webgl.h:9: 79 error In file included from /Users/username/Library/Caches/node-gyp/19.9.0/include/node/node.h:73: 79 error In file included from /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8.h:24: 79 error In file included from /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-array-buffer.h:13: 79 error In file included from /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-object.h:9: 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-maybe.h:106:69: error: expected '(' for function-style cast or type construction 79 error template <class U, std::enable_if_t<!std::is_lvalue_reference_v>> 79 error ~~~~~~~~~^ 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-maybe.h:123:43: error: no template named 'is_lvalue_reference_v' in namespace 'std'; did you mean 'is_lvalue_reference'? 79 error template <class T, std::enable_if_t<!std::is_lvalue_reference_v> = nullptr> 79 error ~^~~~~ 79 error is_lvalue_reference 79 error /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits/is_reference.h:26:29: note: 'is_lvalue_reference' declared here 79 error struct _LIBCPP_TEMPLATE_VIS is_lvalue_reference : _BoolConstant<is_lvalue_reference(_Tp)> { }; 79 error ^ 79 error In file included from ../src/native/bindings.cc:9: 79 error In file included from ../src/native/webgl.h:9: 79 error In file included from /Users/username/Library/Caches/node-gyp/19.9.0/include/node/node.h:73: 79 error In file included from /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8.h:24: 79 error In file included from /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-array-buffer.h:13: 79 error In file included from /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-object.h:9: 79 error /Users/username/Library/Caches/node-gyp/19.9.0/include/node/v8-maybe.h:123:67: error: expected '(' for function-style cast or type construction 79 error template <class T, std::enable_if_t<!std::is_lvalue_reference_v> = nullptr> 79 error ~~~~~~~~~^ 79 error 20 warnings and 4 errors generated. 79 error make: *** [Release/obj.target/webgl/src/native/bindings.o] Error 1 79 error gyp ERR! build error 79 error gyp ERR! stack Error: make failed with exit code: 2 79 error gyp ERR! stack at ChildProcess.onExit (/Users/username/path/editly/node_modules/node-gyp/lib/build.js:203:23) 79 error gyp ERR! stack at ChildProcess.emit (node:events:513:28) 79 error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12) 79 error gyp ERR! System Darwin 22.3.0 79 error gyp ERR! command "/Users/username/.nvm/versions/node/v19.9.0/bin/node" "/Users/username/path/editly/node_modules/.bin/node-gyp" "rebuild" 79 error gyp ERR! cwd /Users/username/path/editly/node_modules/gl 79 error gyp ERR! node -v v19.9.0 79 error gyp ERR! node-gyp -v v9.3.1 79 error gyp ERR! not ok 80 verbose exit 1 81 timing npm Completed in 255895ms 82 verbose unfinished npm timer build 1681819403965 83 verbose unfinished npm timer build:deps 1681819403965 84 verbose unfinished npm timer build:run:install 1681819403982 85 verbose unfinished npm timer build:run:install:node_modules/gl 1681819403988 86 verbose code 1 87 error A complete log of this run can be found in: /Users/username/.npm/_logs/2023-04-18T12_03_23_610Z-debug-0.log