Skip to content

Commit 3de2456

Browse files
author
sheeek
committed
Fix pnpm PATH error during installation
- Set PATH environment variable during pnpm add -g - Include ~/.local/bin in PATH so pnpm doesn't complain - Fixes: The configured global bin directory is not in PATH
1 parent 79417e5 commit 3de2456

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roles/clawdbot/tasks/clawdbot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
become_user: "{{ clawdbot_user }}"
4040
environment:
4141
PNPM_HOME: "{{ clawdbot_home }}/.local/share/pnpm"
42+
PATH: "{{ clawdbot_home }}/.local/bin:{{ ansible_env.PATH }}"
4243

4344
- name: Add pnpm bin to PATH in .bashrc
4445
ansible.builtin.lineinfile:

0 commit comments

Comments
 (0)