From 875f37719442c69bba5d254a6f246a1b49ef2ac4 Mon Sep 17 00:00:00 2001 From: Khalid A Date: Fri, 17 Apr 2026 16:17:58 -0500 Subject: [PATCH] Fix Docker build: replace workspace:* with file: references npm doesn't support the `workspace:*` protocol (that's pnpm/Yarn). This caused `npm install` to fail with EUNSUPPORTEDPROTOCOL during Docker builds. Replaced both occurrences with `file:` relative paths that npm workspaces resolves correctly. Co-Authored-By: Claude Sonnet 4.6 --- package.json | 2 +- server/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e907fd8..8bf65cb 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "react": "^19.1.0", "react-dom": "^19.1.0", "zod": "^3.24.0", - "@dynamic-sites/shared": "workspace:*" + "@dynamic-sites/shared": "file:shared" }, "devDependencies": { "@types/react": "^19.1.2", diff --git a/server/package.json b/server/package.json index a6da85f..51a4454 100644 --- a/server/package.json +++ b/server/package.json @@ -9,7 +9,7 @@ "start": "node dist/index.js" }, "dependencies": { - "@dynamic-sites/shared": "workspace:*", + "@dynamic-sites/shared": "file:../shared", "better-sqlite3": "^11.8.0", "cors": "^2.8.5", "express": "^5.1.0",