yarn
yarn copied to clipboard
All commands are not found
Windows 10 Pro Release Version 22H2 OS Assembly 19045.3636 Interaction Windows Feature Experience Pack 1000.19053.1000.0
NVM for Windows: 1.1.11 Node: 21.1.0 Yarn: 1.22.19
Have installed yarn globally
npm i -g yarn
Have installed all dependencies for the project in node_modules
I'm trying to call yarn zx
in Git Bash terminal, but I get an error:
$ yarn zx
yarn run v1.22.19
$ D:\Projects\MyTasks\node_modules\.bin\zx
/usr/bin/bash: line 1: D:ProjectsMyTasksnode_modules.binzx: command not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
but zx
and zx.cmd
are present in ../node_modules/.bin/
This problem applies to all other teams as well