tldr-pages/tldr

Error when using `nvs`

okineadev opened this issue · 1 comments

I literally cannot commit because of this error!

When trying to commit, the following error pops up:

image

Here is the text of the error in the Git logs:

2024-03-28 19:13:39.749 [info] .husky/pre-commit: 1: npm: not found
husky - pre-commit script failed (code 127)
husky - command not found in PATH=/usr/lib/git-core:/home/okineadev/.vscode-server-insiders/bin/92e85248d7b370a3a7478baf056a5d2363037d2b/bin/remote-cli:/home/okineadev/.local/bin:/home/okineadev/.modular/pkg/packages.modular.com_mojo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Python312/Scripts/:/mnt/c/Python312/:/mnt/c/Program Files/OpenSSH/:/mnt/d/Apps/microsoft-jdk/bin:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA App/NvDLISR:/mnt/d/Apps/GitHub CLI/:/mnt/c/ProgramData/chocolatey/bin:/mnt/d/Apps/Python 3.12/Scripts/:/mnt/d/Apps/Python 3.12/:/mnt/c/Users/yrabo/AppData/Local/Microsoft/WindowsApps:/mnt/d/Apps/Microsoft VS Code Insiders/bin:/mnt/d/Apps/CMake/bin:/mnt/c/platform-tools:/snap/bin:/home/okineadev/.local/bin

Please fix this error

Hi, thank you for raising this issue. To use tldr-lint you need to have at least npm installed, but in our contributing guide is described how you can fix this, the tip. Please let us know if that worked.