Skip to content

error: env: node: No such file or directory #539

@BeLi4L

Description

@BeLi4L

When I try to commit some changes, I have the following error: env: node: No such file or directoryas you see on this screenshot:

image

I guess it's due to a pre-commit in my repo that uses yarn/node. Usually node is on my PATH, because I run nvm setup scripts in both .bashrc and .zshrc.

Any idea of why Sourcegit can't find node? Does it use a special shell or path? 🤔

Metadata

Metadata

Assignees

Labels

os-macosThis issue only exists on macOSquestionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions