From 8dc0295f13d091193a39fb02f97ed1d0863f240d Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Wed, 25 Mar 2026 12:46:25 +0100 Subject: [PATCH] fix(storybook): add --no-dev to prevent init from starting dev server storybook v10 starts the dev server after init by default, causing the install script to hang forever --- install/storybook-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/storybook-install.sh b/install/storybook-install.sh index 83037a24..dab2ef86 100644 --- a/install/storybook-install.sh +++ b/install/storybook-install.sh @@ -20,7 +20,7 @@ mkdir -p /opt/storybook cd /opt/storybook msg_ok "Important: Interactive configuration will start now." -npx -y storybook@latest init --yes +npx -y storybook@latest init --yes --no-dev PROJECT_PATH=$(find /opt/storybook -maxdepth 2 -name ".storybook" -type d 2>/dev/null | head -n1 | xargs dirname) if [[ -z "$PROJECT_PATH" ]]; then