mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
fix: Error: EACCES: permission denied for corepack
This commit is contained in:
parent
dcaf51bc9e
commit
31ba53f9fe
2
Makefile
2
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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user