From 31ba53f9fe75f547d359266478a6a6046dfaa753 Mon Sep 17 00:00:00 2001 From: huybery Date: Fri, 5 Apr 2024 13:56:23 +0800 Subject: [PATCH] fix: Error: EACCES: permission denied for corepack --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d461ff3cb9..aa3758a5d0 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ build: rm -rf node_modules; \ fi @which corepack > /dev/null || (echo "Installing corepack..." && npm install -g corepack) - @cd frontend && corepack enable && pnpm install && pnpm run make-i18n + @cd frontend && sudo corepack enable && pnpm install && pnpm run make-i18n # Start backend start-backend: