Created
March 5, 2025 08:38
-
-
Save brunos3d/f5324cfd8447556dddb9b862c86b11ed to your computer and use it in GitHub Desktop.
How to fix vscode commit gui ".husky/pre-commit: line <number>: npx: command not found" error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p ~/.config/husky && echo 'export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm' > ~/.config/husky/init.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment