From 7ba0de6ef05b941e1d1f93ee31b204df91f4114c Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Fri, 17 Apr 2026 10:06:14 +0200 Subject: [PATCH] fix(clickhouse): also strip @types/hyperdx__lucene from yarn.lock MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removing from packages/app/package.json devDependencies alone is not enough — Yarn Berry still resolves the alias from yarn.lock entries. sed removes all yarn.lock lines referencing the broken package. --- install/clickhouse-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/clickhouse-install.sh b/install/clickhouse-install.sh index abf92fd2..2be281fc 100644 --- a/install/clickhouse-install.sh +++ b/install/clickhouse-install.sh @@ -212,6 +212,7 @@ EOF msg_info "Building HyperDX" # Remove broken devDependency (@types/lucene does not exist on npm) node -e "const fs=require('fs'),p=JSON.parse(fs.readFileSync('packages/app/package.json','utf8'));delete p.devDependencies['@types/hyperdx__lucene'];fs.writeFileSync('packages/app/package.json',JSON.stringify(p,null,2));" + sed -i '/@types\/hyperdx__lucene/d' yarn.lock $STD yarn install $STD yarn workspace @hyperdx/common-utils run build $STD yarn workspace @hyperdx/api run build