-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
bugSomething isn't workingSomething isn't workingdependenciesPull requests that update a dependency filePull requests that update a dependency fileexternalThis problem is externalThis problem is externalnot a script issueThis is not a script issueThis is not a script issue
Description
✅ Have you read and understood the above guidelines?
yes
📜 What is the name of the script you are using?
Hoarder
📂 What was the exact command used to execute the script?
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/hoarder.sh)"
📝 Provide a clear and concise description of the issue.
When I run the install script, it fails with this error
⠼../.. postinstall: 1 issue found in ./apps/web/package.json:
../.. postinstall: ⨯ error Similar Tanstack Query dependencies should use the same version. unsync-similar-dependencies
../.. postinstall: │ {
../.. postinstall: │ "dependencies": {
../.. postinstall: ~ "@tanstack/react-query": "^5.24.8",
../.. postinstall: ~ "@tanstack/react-query-devtools": "^5.21.0"
../.. postinstall: │ }
../.. postinstall: │ }
../.. postinstall: 1 issue found (1 ⨯, 0 ⚠️, 0 ✓) across 19 packages in 921.125µs.
../.. postinstall: Note: use `-i` to ignore dependencies, `-r` to ignore rules, `-p` to ignore packages, and `-f` to autofix fixable issues.
../.. postinstall: ELIFECYCLE Command failed with exit code 1.
../.. postinstall: Failed
ELIFECYCLE Command failed with exit code 1
⚙️ What settings are you using?
- Default Settings
- Advanced Settings
🖥️ Which Linux distribution are you using?
Debian 12
🔄 Steps to reproduce the issue.
Install hoarder
❌ Paste the full error output (if available).
⠹! Corepack is about to download https://registry.npmjs.org/pnpm/-/pnpm-9.0.0-alpha.8.tgz
⠏Scope: all 20 workspace projects
⠸../.. | +3118 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
⠦../.. | Progress: resolved 0, reused 0, downloaded 1, added 0
⠦../.. | Progress: resolved 0, reused 0, downloaded 96, added 97
⠴../.. | Progress: resolved 0, reused 0, downloaded 136, added 154
⠴../.. | Progress: resolved 0, reused 0, downloaded 151, added 161
⠴../.. | Progress: resolved 0, reused 0, downloaded 168, added 176
⠴../.. | Progress: resolved 0, reused 0, downloaded 251, added 297
⠴../.. | Progress: resolved 0, reused 0, downloaded 376, added 430
⠴../.. | Progress: resolved 0, reused 0, downloaded 509, added 617
⠴../.. | Progress: resolved 0, reused 0, downloaded 604, added 720
⠼../.. | Progress: resolved 0, reused 0, downloaded 693, added 823
⠼../.. | Progress: resolved 0, reused 0, downloaded 776, added 901
⠼../.. | Progress: resolved 0, reused 0, downloaded 898, added 1053
⠼../.. | Progress: resolved 0, reused 0, downloaded 1011, added 1202
⠼../.. | Progress: resolved 0, reused 0, downloaded 1063, added 1244
⠼../.. | Progress: resolved 0, reused 0, downloaded 1110, added 1311
⠸../.. | Progress: resolved 0, reused 0, downloaded 1319, added 1580
⠸../.. | Progress: resolved 0, reused 0, downloaded 1483, added 1731
⠸../.. | Progress: resolved 0, reused 0, downloaded 1669, added 1947
⠸../.. | Progress: resolved 0, reused 0, downloaded 1768, added 2069
⠸../.. | Progress: resolved 0, reused 0, downloaded 1948, added 2271
⠸../.. | Progress: resolved 0, reused 0, downloaded 2215, added 2582
⠸../.. | Progress: resolved 0, reused 0, downloaded 2341, added 2697
⠸../.. | Progress: resolved 0, reused 0, downloaded 2560, added 2959
⠙../.. | Progress: resolved 0, reused 0, downloaded 2684, added 3118, done
../../node_modules/@swc/core postinstall$ node postinstall.js
⠹../../node_modules/better-sqlite3 install$ prebuild-install || node-gyp rebuild --release
../../node_modules/esbuild postinstall$ node install.js
../../node_modules/puppeteer postinstall$ node install.mjs
../../node_modules/@swc/core postinstall: Done
../../node_modules/canvas install$ node-pre-gyp install --fallback-to-build --update-binary
⠸../../node_modules/re2 install$ install-from-cache --artifact build/Release/re2.node --host-var RE2_DOWNLOAD_MIRROR --skip-path-var RE2_DOWNLOAD_SKIP_PATH --skip-ver-var RE2_DOWNLOAD_SKIP_VER || node-gyp -j max rebuild
../../node_modules/esbuild postinstall: Done
../../node_modules/re2 install: Trying https://github.com/uhop/node-re2/releases/download/1.21.4/linux-x64-127.br ...
⠼../../node_modules/canvas install: node-pre-gyp info it worked if it ends with ok
../../node_modules/canvas install: node-pre-gyp info using node-pre-gyp@1.0.11
../../node_modules/canvas install: node-pre-gyp info using node@22.13.1 | linux | x64
../../node_modules/core-js-pure postinstall$ node -e "try{require('./postinstall')}catch(e){}"
../../node_modules/core-js-pure postinstall: Done
../../node_modules/canvas install: (node:9335) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
../../node_modules/canvas install: (Use `node --trace-deprecation ...` to show where the warning was created)
../../node_modules/canvas install: node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v127-linux-glibc-x64.tar.gz
⠦../../node_modules/puppeteer postinstall: **INFO** Skipping browser download as instructed.
../../node_modules/puppeteer postinstall: Done
../../node_modules/canvas install: node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v127-linux-glibc-x64.tar.gz
../../node_modules/canvas install: node-pre-gyp WARN Pre-built binaries not installable for canvas@2.11.2 and node@22.13.1 (node-v127 ABI, glibc) (falling back to source compile with node-gyp)
../../node_modules/canvas install: node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v127-linux-glibc-x64.tar.gz
../../node_modules/canvas install: gyp info it worked if it ends with ok
../../node_modules/canvas install: gyp info using node-gyp@10.0.1
../../node_modules/canvas install: gyp info using node@22.13.1 | linux | x64
../../node_modules/canvas install: gyp info ok
../../node_modules/core-js postinstall$ node -e "try{require('./postinstall')}catch(e){}"
.../node_modules/postman-code-generators postinstall$ node npm/deepinstall.js
⠧../../node_modules/canvas install: gyp info it worked if it ends with ok
../../node_modules/canvas install: gyp info using node-gyp@10.0.1
../../node_modules/canvas install: gyp info using node@22.13.1 | linux | x64
../../node_modules/core-js postinstall: Done
⠇../../node_modules/canvas install: gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"
⠏../../node_modules/canvas install: gyp http GET https://nodejs.org/download/release/v22.13.1/node-v22.13.1-headers.tar.gz
⠋.../core-utils/node_modules/esbuild postinstall$ node install.js
../../node_modules/better-sqlite3 install: Done
.../core-utils/node_modules/esbuild postinstall: Done
⠙../../node_modules/tesseract.js postinstall$ opencollective-postinstall || true
../../node_modules/sharp install$ node install/check
../../node_modules/tesseract.js postinstall: Done
⠹.../node_modules/postman-code-generators postinstall: Detected package manager: npm
../../node_modules/sharp install: Done
../../node_modules/canvas install: gyp http 200 https://nodejs.org/download/release/v22.13.1/node-v22.13.1-headers.tar.gz
⠸../../node_modules/re2 install: Writing to build/Release/re2.node ...
⠼.../node_modules/postman-code-generators postinstall: Detected npm version: 10.9.2
.../node_modules/postman-code-generators postinstall: Running pre-package script
⠴.../node_modules/postman-code-generators postinstall: Run successful languages.js saved in lib/assets
.../node_modules/postman-code-generators postinstall: csharp-httpclient: npm install --no-audit --production
⠦../../node_modules/re2 install: Done.
../../node_modules/re2 install: Done
⠋.../node_modules/postman-code-generators postinstall: up to date in 408ms
.../node_modules/postman-code-generators postinstall: csharp-restsharp: npm install --no-audit --production
⠼.../node_modules/postman-code-generators postinstall: up to date in 257ms
.../node_modules/postman-code-generators postinstall: curl: npm install --no-audit --production
../../node_modules/canvas install: gyp http GET https://nodejs.org/download/release/v22.13.1/SHASUMS256.txt
⠴../../node_modules/canvas install: gyp http 200 https://nodejs.org/download/release/v22.13.1/SHASUMS256.txt
../../node_modules/canvas install: gyp info spawn /usr/bin/python3
../../node_modules/canvas install: gyp info spawn args [
../../node_modules/canvas install: gyp info spawn args '/root/.cache/node/corepack/v1/pnpm/9.0.0-alpha.8/dist/node_modules/node-gyp/gyp/gyp_main.py',
../../node_modules/canvas install: gyp info spawn args 'binding.gyp',
../../node_modules/canvas install: gyp info spawn args '-f',
../../node_modules/canvas install: gyp info spawn args 'make',
../../node_modules/canvas install: gyp info spawn args '-I',
../../node_modules/canvas install: gyp info spawn args '/opt/hoarder/node_modules/canvas/build/config.gypi',
../../node_modules/canvas install: gyp info spawn args '-I',
../../node_modules/canvas install: gyp info spawn args '/root/.cache/node/corepack/v1/pnpm/9.0.0-alpha.8/dist/node_modules/node-gyp/addon.gypi',
../../node_modules/canvas install: gyp info spawn args '-I',
../../node_modules/canvas install: gyp info spawn args '/root/.cache/node-gyp/22.13.1/include/node/common.gypi',
../../node_modules/canvas install: gyp info spawn args '-Dlibrary=shared_library',
../../node_modules/canvas install: gyp info spawn args '-Dvisibility=default',
../../node_modules/canvas install: gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/22.13.1',
../../node_modules/canvas install: gyp info spawn args '-Dnode_gyp_dir=/root/.cache/node/corepack/v1/pnpm/9.0.0-alpha.8/dist/node_modules/node-gyp',
../../node_modules/canvas install: gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/22.13.1/<(target_arch)/node.lib',
../../node_modules/canvas install: gyp info spawn args '-Dmodule_root_dir=/opt/hoarder/node_modules/canvas',
../../node_modules/canvas install: gyp info spawn args '-Dnode_engine=v8',
../../node_modules/canvas install: gyp info spawn args '--depth=.',
../../node_modules/canvas install: gyp info spawn args '--no-parallel',
../../node_modules/canvas install: gyp info spawn args '--generator-output',
../../node_modules/canvas install: gyp info spawn args 'build',
../../node_modules/canvas install: gyp info spawn args '-Goutput_dir=.'
../../node_modules/canvas install: gyp info spawn args ]
⠦.../node_modules/postman-code-generators postinstall: up to date in 184ms
.../node_modules/postman-code-generators postinstall: dart-dio: npm install --no-audit --production
../../node_modules/canvas install: /bin/sh: 1: pkg-config: not found
../../node_modules/canvas install: gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 127 while in binding.gyp. while trying to load binding.gyp
../../node_modules/canvas install: gyp ERR! configure error
../../node_modules/canvas install: gyp ERR! stack Error: `gyp` failed with exit code: 1
../../node_modules/canvas install: gyp ERR! stack at ChildProcess.<anonymous> (/root/.cache/node/corepack/v1/pnpm/9.0.0-alpha.8/dist/node_modules/node-gyp/lib/configure.js:271:18)
../../node_modules/canvas install: gyp ERR! stack at ChildProcess.emit (node:events:524:28)
../../node_modules/canvas install: gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)
../../node_modules/canvas install: gyp ERR! System Linux 6.8.12-7-pve
../../node_modules/canvas install: gyp ERR! command "/usr/bin/node" "/root/.cache/node/corepack/v1/pnpm/9.0.0-alpha.8/dist/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--update-binary" "--module=/opt/hoarder/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/hoarder/node_modules/canvas/build/Release" "--napi_version=9" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v127"
../../node_modules/canvas install: gyp ERR! cwd /opt/hoarder/node_modules/canvas
../../node_modules/canvas install: gyp ERR! node -v v22.13.1
../../node_modules/canvas install: gyp ERR! node-gyp -v v10.0.1
../../node_modules/canvas install: gyp ERR! not ok
⠧../../node_modules/canvas install: node-pre-gyp ERR! build error
../../node_modules/canvas install: node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /root/.cache/node/corepack/v1/pnpm/9.0.0-alpha.8/dist/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --update-binary --module=/opt/hoarder/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/hoarder/node_modules/canvas/build/Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v127' (1)
../../node_modules/canvas install: node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/hoarder/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
../../node_modules/canvas install: node-pre-gyp ERR! stack at ChildProcess.emit (node:events:524:28)
../../node_modules/canvas install: node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1101:16)
../../node_modules/canvas install: node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:304:5)
../../node_modules/canvas install: node-pre-gyp ERR! System Linux 6.8.12-7-pve
../../node_modules/canvas install: node-pre-gyp ERR! command "/usr/bin/node" "/opt/hoarder/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--update-binary"
../../node_modules/canvas install: node-pre-gyp ERR! cwd /opt/hoarder/node_modules/canvas
../../node_modules/canvas install: node-pre-gyp ERR! node -v v22.13.1
../../node_modules/canvas install: node-pre-gyp ERR! node-pre-gyp -v v1.0.11
../../node_modules/canvas install: node-pre-gyp ERR! not ok
../../node_modules/canvas install: Failed to execute '/usr/bin/node /root/.cache/node/corepack/v1/pnpm/9.0.0-alpha.8/dist/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --update-binary --module=/opt/hoarder/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/hoarder/node_modules/canvas/build/Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v127' (1)
../../node_modules/canvas install: Failed
⠹.../node_modules/postman-code-generators postinstall: added 1 package in 481ms
.../node_modules/postman-code-generators postinstall: dart-http: npm install --no-audit --production
⠼.../node_modules/postman-code-generators postinstall: up to date in 165ms
.../node_modules/postman-code-generators postinstall: golang: npm install --no-audit --production
⠦.../node_modules/postman-code-generators postinstall: up to date in 165ms
.../node_modules/postman-code-generators postinstall: http: npm install --no-audit --production
⠦.../node_modules/postman-code-generators postinstall: added 18 packages in 2s
.../node_modules/postman-code-generators postinstall: java-okhttp: npm install --no-audit --production
⠇.../node_modules/postman-code-generators postinstall: up to date in 163ms
.../node_modules/postman-code-generators postinstall: java-unirest: npm install --no-audit --production
⠋.../node_modules/postman-code-generators postinstall: up to date in 166ms
.../node_modules/postman-code-generators postinstall: js-fetch: npm install --no-audit --production
⠏.../node_modules/postman-code-generators postinstall: up to date in 766ms
.../node_modules/postman-code-generators postinstall: js-jquery: npm install --no-audit --production
⠙.../node_modules/postman-code-generators postinstall: up to date in 165ms
.../node_modules/postman-code-generators postinstall: js-xhr: npm install --no-audit --production
⠴.../node_modules/postman-code-generators postinstall: up to date in 345ms
.../node_modules/postman-code-generators postinstall: kotlin-okhttp: npm install --no-audit --production
⠇.../node_modules/postman-code-generators postinstall: added 1 package in 308ms
.../node_modules/postman-code-generators postinstall: libcurl: npm install --no-audit --production
⠙.../node_modules/postman-code-generators postinstall: up to date in 171ms
.../node_modules/postman-code-generators postinstall: nodejs-axios: npm install --no-audit --production
⠇.../node_modules/postman-code-generators postinstall: added 1 package in 625ms
.../node_modules/postman-code-generators postinstall: nodejs-native: npm install --no-audit --production
⠧.../node_modules/postman-code-generators postinstall: added 18 packages in 833ms
.../node_modules/postman-code-generators postinstall: nodejs-request: npm install --no-audit --production
⠋.../node_modules/postman-code-generators postinstall: up to date in 2s
.../node_modules/postman-code-generators postinstall: nodejs-unirest: npm install --no-audit --production
⠧.../node_modules/postman-code-generators postinstall: up to date in 654ms
.../node_modules/postman-code-generators postinstall: objective-c: npm install --no-audit --production
⠋.../node_modules/postman-code-generators postinstall: up to date in 167ms
.../node_modules/postman-code-generators postinstall: ocaml-cohttp: npm install --no-audit --production
⠹.../node_modules/postman-code-generators postinstall: up to date in 167ms
.../node_modules/postman-code-generators postinstall: php-curl: npm install --no-audit --production
⠼.../node_modules/postman-code-generators postinstall: up to date in 167ms
.../node_modules/postman-code-generators postinstall: php-guzzle: npm install --no-audit --production
⠦.../node_modules/postman-code-generators postinstall: up to date in 166ms
.../node_modules/postman-code-generators postinstall: php-httprequest2: npm install --no-audit --production
⠏.../node_modules/postman-code-generators postinstall: up to date in 167ms
.../node_modules/postman-code-generators postinstall: php-pecl-http: npm install --no-audit --production
⠙.../node_modules/postman-code-generators postinstall: up to date in 167ms
.../node_modules/postman-code-generators postinstall: powershell-restmethod: npm install --no-audit --production
⠋.../node_modules/postman-code-generators postinstall: up to date in 900ms
.../node_modules/postman-code-generators postinstall: python-http.client: npm install --no-audit --production
⠏.../node_modules/postman-code-generators postinstall: added 18 packages in 825ms
.../node_modules/postman-code-generators postinstall: python-requests: npm install --no-audit --production
⠹.../node_modules/postman-code-generators postinstall: up to date in 205ms
.../node_modules/postman-code-generators postinstall: r-httr: npm install --no-audit --production
⠼.../node_modules/postman-code-generators postinstall: up to date in 164ms
.../node_modules/postman-code-generators postinstall: r-rcurl: npm install --no-audit --production
⠦.../node_modules/postman-code-generators postinstall: up to date in 164ms
.../node_modules/postman-code-generators postinstall: ruby: npm install --no-audit --production
⠏.../node_modules/postman-code-generators postinstall: up to date in 194ms
.../node_modules/postman-code-generators postinstall: rust-reqwest: npm install --no-audit --production
⠹.../node_modules/postman-code-generators postinstall: added 1 package in 297ms
.../node_modules/postman-code-generators postinstall: shell-httpie: npm install --no-audit --production
⠴.../node_modules/postman-code-generators postinstall: up to date in 165ms
.../node_modules/postman-code-generators postinstall: shell-wget: npm install --no-audit --production
⠧.../node_modules/postman-code-generators postinstall: up to date in 165ms
.../node_modules/postman-code-generators postinstall: swift: npm install --no-audit --production
⠏.../node_modules/postman-code-generators postinstall: up to date in 166ms
.../node_modules/postman-code-generators postinstall: Done
⠋
dependencies:
+ @hoarder/db 0.1.0 <- ../../packages/db
+ @hoarder/shared 0.1.0 <- ../../packages/shared
+ @hoarder/shared-react 0.1.0 <- ../../packages/shared-react
+ @hoarder/trpc 0.1.0 <- ../../packages/trpc
devDependencies:
+ @hoarder/eslint-config 0.2.0 <- ../../tooling/eslint
+ @hoarder/prettier-config 0.1.0 <- ../../tooling/prettier
+ @hoarder/tailwind-config 0.1.0 <- ../../tooling/tailwind
+ @hoarder/tsconfig 0.1.0 <- ../../tooling/typescript
⠹../.. postinstall$ pnpm lint:ws
⠦../.. postinstall: > hoarder@0.1.0 lint:ws /opt/hoarder
../.. postinstall: > pnpm dlx sherif@latest
⠋../.. postinstall: Progress: resolved 1, reused 0, downloaded 0, added 0
⠹../.. postinstall: Packages: +2
../.. postinstall: ++
⠸../.. postinstall: Progress: resolved 7, reused 0, downloaded 2, added 2, done
⠼../.. postinstall: 1 issue found in ./apps/web/package.json:
../.. postinstall: ⨯ error Similar Tanstack Query dependencies should use the same version. unsync-similar-dependencies
../.. postinstall: │ {
../.. postinstall: │ "dependencies": {
../.. postinstall: ~ "@tanstack/react-query": "^5.24.8",
../.. postinstall: ~ "@tanstack/react-query-devtools": "^5.21.0"
../.. postinstall: │ }
../.. postinstall: │ }
../.. postinstall: 1 issue found (1 ⨯, 0 ⚠️, 0 ✓) across 19 packages in 921.125µs.
../.. postinstall: Note: use `-i` to ignore dependencies, `-r` to ignore rules, `-p` to ignore packages, and `-f` to autofix fixable issues.
../.. postinstall: ELIFECYCLE Command failed with exit code 1.
../.. postinstall: Failed
ELIFECYCLE Command failed with exit code 1.
🖼️ Additional context (optional).
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdependenciesPull requests that update a dependency filePull requests that update a dependency fileexternalThis problem is externalThis problem is externalnot a script issueThis is not a script issueThis is not a script issue