From 55d021d1cfba61c3cffdc453009477aaa4507f70 Mon Sep 17 00:00:00 2001 From: David Dal Busco Date: Mon, 5 Jan 2026 19:11:51 +0100 Subject: [PATCH] fix: execute npm run prepare when installing skylab --- docker/server/console/setup | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/server/console/setup b/docker/server/console/setup index 5fd32484..f95ee78b 100755 --- a/docker/server/console/setup +++ b/docker/server/console/setup @@ -7,7 +7,10 @@ JUNO_REPO="$JUNO_MAIN_DIR" if [ "$CLI_BUILD" == "skylab" ]; then # npm error signal SIGILL esbuild because package-lock contains a reference to esbuild arm rm "${JUNO_REPO}"/package-lock.json - npm --prefix "${JUNO_REPO}" install + + # .svelte-kit/tsconfig.json not found - npm run prepare is not run because ignore-scripts=true is defined + # that's why we run a custom install script that do npm i && npm run prepare + npm --prefix "${JUNO_REPO}" bootstrap:install # we use npm run preview to run the console that's why we need to build the application npm --prefix "${JUNO_REPO}" run build:skylab