From 0b5a031a059e40dc0bfd6c1f68811fb29c06269d Mon Sep 17 00:00:00 2001 From: juancarmore Date: Mon, 26 Oct 2026 19:07:45 +0100 Subject: [PATCH] openvidu-dashboard: the dev and demo servers run in the caller's pnpm workspace pnpm --dir took the CE checkout of an extending workspace as its own workspace and installed it before running. --- openvidu-dashboard/dashboard-ce/tools/dev-lib.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openvidu-dashboard/dashboard-ce/tools/dev-lib.sh b/openvidu-dashboard/dashboard-ce/tools/dev-lib.sh index 425989ca5..57ebbe227 100644 --- a/openvidu-dashboard/dashboard-ce/tools/dev-lib.sh +++ b/openvidu-dashboard/dashboard-ce/tools/dev-lib.sh @@ -3,6 +3,10 @@ # extend these packages: the backend and frontend development servers in one session, stopped together. The caller # runs from the root of its workspace. +# pnpm --dir takes the nearest pnpm-workspace.yaml as the workspace and installs it before running, which for the +# packages of a nested checkout (an extending workspace's ce/) would build a second node_modules there. +export NPM_CONFIG_WORKSPACE_DIR="$PWD" + # The frontend development servers proxy /api to port 5000 (proxy.conf.json); another backend gets its own proxy file. DEFAULT_BACKEND_PORT=5000 WORK_DIR="$(mktemp -d)"