When running the “Yarn” command on the Mac via automation with Jenkins and even with DroneCI, it can’t find the command for this. Same goes for “NPM” too.
Both NodeJS, NPM, and Yarn are installed on this machine and works finally when running the commands manually from an SSH connection and on the Mac direclty.
Now, I did say this issue also occurs on DroneCI, so this isn’t isolated to the CI/CD tool but there must be something I can fix in macOS?