Skip to content

Commit 06ce529

Browse files
fix: execute npm run prepare when installing skylab (#236)
1 parent a247607 commit 06ce529

File tree

1 file changed

+4
-1
lines changed
  • docker/server/console

1 file changed

+4
-1
lines changed

docker/server/console/setup

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ JUNO_REPO="$JUNO_MAIN_DIR"
77
if [ "$CLI_BUILD" == "skylab" ]; then
88
# npm error signal SIGILL esbuild because package-lock contains a reference to esbuild arm
99
rm "${JUNO_REPO}"/package-lock.json
10-
npm --prefix "${JUNO_REPO}" install
10+
11+
# .svelte-kit/tsconfig.json not found - npm run prepare is not run because ignore-scripts=true is defined
12+
# that's why we run a custom install script that do npm i && npm run prepare
13+
npm --prefix "${JUNO_REPO}" bootstrap:install
1114

1215
# we use npm run preview to run the console that's why we need to build the application
1316
npm --prefix "${JUNO_REPO}" run build:skylab

0 commit comments

Comments
 (0)