00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: ‘global’

April 13, 2022 . 1 MIN READ

Reference:

https://stackoverflow.com/questions/46013544/yarn-install-command-error-no-such-file-or-directory-install/52357140

 

This solution worked for me:

sudo apt remove cmdtest

sudo apt remove yarn

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add –

echo “deb https://dl.yarnpkg.com/debian/ stable main” | sudo tee /etc/apt/sources.list.d/yarn.list

sudo apt-get update

sudo apt-get install yarn -y

Leave a Reply

Your email address will not be published. Required fields are marked *