fix(frontend): force hoisted node-linker in docker runtime script to prevent cross-volume symlink/hardlink ENOENT errors
This commit is contained in:
1 parent
e71e090eec
commit
4de7124a3c
3 files changed
+3
-3
No files matched your search
@@ -61,7 +61,7 @@ ensure_frontend_dependencies() {
|
||||
echo "Installing frontend dependencies..."
|
||||
if [ "$WORKSPACE_DIR" = "/common" ]; then
|
||||
npm install -g pnpm
|
||||
(cd /common && rm -rf node_modules .pnpm-store && CI=true pnpm install --store-dir /root/.pnpm-store)
|
||||
(cd /common && rm -rf node_modules .pnpm-store && echo "node-linker=hoisted" > .npmrc && CI=true pnpm install --store-dir /root/.pnpm-store)
|
||||
else
|
||||
npm ci
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user