From f503bd32c9548ede88539aa1be788b1a6a7f0ba5 Mon Sep 17 00:00:00 2001 From: Rizky Date: Fri, 21 Jun 2024 09:46:27 +0700 Subject: [PATCH] fix --- app/srv/ws/sync/code/utlis/ensure-files.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/srv/ws/sync/code/utlis/ensure-files.ts b/app/srv/ws/sync/code/utlis/ensure-files.ts index dc34ee86..9d3decd0 100644 --- a/app/srv/ws/sync/code/utlis/ensure-files.ts +++ b/app/srv/ws/sync/code/utlis/ensure-files.ts @@ -87,7 +87,8 @@ export const ensureFiles = async (path: string, id_site: string) => { "tailwind-merge": "^2.3.0", xlsx: "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz", }, - }) + }), + { mode: 777 } ); let proc = Bun.spawn([`npm`, `install`], { stdio: ["inherit", "inherit", "inherit"],