You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=> ERROR [app 6/6] RUN npm install && npm run build 69.1s
------
> [app 6/6] RUN npm install && npm run build:
56.43 npm WARN deprecated domexception@2.0.1: Use your platform's native DOMException instead
57.55 npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
58.25 npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
58.30 npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
58.72 npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
58.78 npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
58.86 npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
58.94 npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
58.94 npm WARN deprecated har-validator@5.1.5: this library is no longer supported
59.01 npm WARN deprecated sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
59.09 npm WARN deprecated @types/chalk@2.2.0: This is a stub types definition for chalk (https://github.com/chalk/chalk). chalk provides its own type definitions, so you don't need @types/chalk installed!
59.38 npm WARN deprecated @koa/router@9.4.0: **IMPORTANT 10x+ PERFORMANCE UPGRADE**: Please upgrade to v12.0.1+ as we have fixed an issue with debuglog causing 10x slower router benchmark performance, see https://github.com/koajs/router/pull/173
59.94 npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
59.95 npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
68.94 npm notice
68.94 npm notice New patch version of npm available! 10.2.3 -> 10.2.5
68.94 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.5>
68.94 npm notice Run `npm install -g npm@10.2.5` to update!
68.95 npm notice
68.95 npm ERR! code 1
68.95 npm ERR! path /ai/node_modules/canvas
68.95 npm ERR! command failed
68.96 npm ERR! command sh -c node-pre-gyp install --fallback-to-build --update-binary
68.96 npm ERR! Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --update-binary --module=/ai/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/ai/node_modules/canvas/build/Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115' (1)
68.96 npm ERR! node-pre-gyp info it worked if it ends with ok
68.96 npm ERR! node-pre-gyp info using node-pre-gyp@1.0.11
68.96 npm ERR! node-pre-gyp info using node@20.10.0 | linux | x64
68.96 npm ERR! node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.10.2/canvas-v2.10.2-node-v115-linux-glibc-x64.tar.gz
68.96 npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.10.2/canvas-v2.10.2-node-v115-linux-glibc-x64.tar.gz
68.96 npm ERR! node-pre-gyp WARN Pre-built binaries not installable for canvas@2.10.2 and node@20.10.0 (node-v115 ABI, glibc) (falling back to source compile with node-gyp)
68.96 npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.10.2/canvas-v2.10.2-node-v115-linux-glibc-x64.tar.gz
68.96 npm ERR! gyp info it worked if it ends with ok
68.96 npm ERR! gyp info using node-gyp@10.0.1
68.96 npm ERR! gyp info using node@20.10.0 | linux | x64
68.96 npm ERR! gyp info ok
68.96 npm ERR! gyp info it worked if it ends with ok
68.96 npm ERR! gyp info using node-gyp@10.0.1
68.96 npm ERR! gyp info using node@20.10.0 | linux | x64
68.96 npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
68.96 npm ERR! gyp http GET https://nodejs.org/download/release/v20.10.0/node-v20.10.0-headers.tar.gz
68.96 npm ERR! gyp http 200 https://nodejs.org/download/release/v20.10.0/node-v20.10.0-headers.tar.gz
68.96 npm ERR! gyp http GET https://nodejs.org/download/release/v20.10.0/SHASUMS256.txt
68.96 npm ERR! gyp http 200 https://nodejs.org/download/release/v20.10.0/SHASUMS256.txt
68.96 npm ERR! gyp info spawn /usr/bin/python3
68.96 npm ERR! gyp info spawn args [
68.96 npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
68.96 npm ERR! gyp info spawn args 'binding.gyp',
68.96 npm ERR! gyp info spawn args '-f',
68.96 npm ERR! gyp info spawn args 'make',
68.96 npm ERR! gyp info spawn args '-I',
68.96 npm ERR! gyp info spawn args '/ai/node_modules/canvas/build/config.gypi',
68.96 npm ERR! gyp info spawn args '-I',
68.96 npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
68.97 npm ERR! gyp info spawn args '-I',
68.97 npm ERR! gyp info spawn args '/root/.cache/node-gyp/20.10.0/include/node/common.gypi',
68.97 npm ERR! gyp info spawn args '-Dlibrary=shared_library',
68.97 npm ERR! gyp info spawn args '-Dvisibility=default',
68.97 npm ERR! gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/20.10.0',
68.97 npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
68.97 npm ERR! gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/20.10.0/<(target_arch)/node.lib',
68.97 npm ERR! gyp info spawn args '-Dmodule_root_dir=/ai/node_modules/canvas',
68.97 npm ERR! gyp info spawn args '-Dnode_engine=v8',
68.97 npm ERR! gyp info spawn args '--depth=.',
68.97 npm ERR! gyp info spawn args '--no-parallel',
68.97 npm ERR! gyp info spawn args '--generator-output',
68.97 npm ERR! gyp info spawn args 'build',
68.97 npm ERR! gyp info spawn args '-Goutput_dir=.'
68.97 npm ERR! gyp info spawn args ]
68.97 npm ERR! Package pangocairo was not found in the pkg-config search path.
68.97 npm ERR! Perhaps you should add the directory containing `pangocairo.pc'
68.97 npm ERR! to the PKG_CONFIG_PATH environment variable
68.97 npm ERR! No package 'pangocairo' found
68.97 npm ERR! gyp: Call to 'pkg-config pangocairo --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
68.97 npm ERR! gyp ERR! configure error
68.97 npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1
68.97 npm ERR! gyp ERR! stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:271:18)
68.97 npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:514:28)
68.97 npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
68.97 npm ERR! gyp ERR! System Linux 5.15.0-89-generic
68.97 npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--update-binary" "--module=/ai/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/ai/node_modules/canvas/build/Release" "--napi_version=9" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v115"
68.97 npm ERR! gyp ERR! cwd /ai/node_modules/canvas
68.97 npm ERR! gyp ERR! node -v v20.10.0
68.97 npm ERR! gyp ERR! node-gyp -v v10.0.1
68.97 npm ERR! gyp ERR! not ok
68.97 npm ERR! node-pre-gyp ERR! build error
68.97 npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --update-binary --module=/ai/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/ai/node_modules/canvas/build/Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115' (1)
68.97 npm ERR! node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/ai/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
68.97 npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:514:28)
68.97 npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1105:16)
68.97 npm ERR! node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:305:5)
68.97 npm ERR! node-pre-gyp ERR! System Linux 5.15.0-89-generic
68.97 npm ERR! node-pre-gyp ERR! command "/usr/local/bin/node" "/ai/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--update-binary"
68.97 npm ERR! node-pre-gyp ERR! cwd /ai/node_modules/canvas
68.97 npm ERR! node-pre-gyp ERR! node -v v20.10.0
68.97 npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.11
68.97 npm ERR! node-pre-gyp ERR! not ok
68.97
68.97 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-12-31T07_59_18_355Z-debug-0.log
------
failed to solve: process "/bin/sh -c npm install && npm run build" did not complete successfully: exit code: 1
The text was updated successfully, but these errors were encountered:
node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.10.2/canvas-v2.10.2-node-v115-linux-glibc-x64.tar.gz
68.96 npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.10.2/canvas-v2.10.2-node-v115-linux-glibc-x64.tar.gz
68.96 npm ERR!
docker compose buildを行うとnpm buildでFAILします。。。
バージョン
docker
ai
エラーログ
The text was updated successfully, but these errors were encountered: