You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed pnpm via corepack enable.
I restarted the system.
On commit it tells me command not found while using pnpm in pre-commit because it isn't in PATH used by husky,
But if I look in the terminal it's inside PATH.
I manually added the pnpm part of my .bashrc (added by corepack) to the husky bash script in the .husky folder to make it work.
I wonder why the PATH is different between husky and my system.
Does husky ignore my .bashrc?
The text was updated successfully, but these errors were encountered:
@kaaax0815 it seems that problem is linux only and only dedicated to the IntelliJ IDEA.
They have now an open issue ticket about not using the .bashrc if started via the desktop ui.
Starting it via the terminal works fine.
Arch Linux
IntelliJ IDE
I installed
pnpm
viacorepack enable
.I restarted the system.
On commit it tells me
command not found
while using pnpm inpre-commit
because it isn't inPATH
used by husky,But if I look in the terminal it's inside
PATH
.I manually added the pnpm part of my .bashrc (added by corepack) to the husky bash script in the .husky folder to make it work.
I wonder why the
PATH
is different between husky and my system.Does husky ignore my
.bashrc
?The text was updated successfully, but these errors were encountered: