yarn install: No such file or directory: ‘install’
yarn install: No such file or directory: ‘install’

yarn install: No such file or directory: ‘install’

yarn install报错 ERROR: [Errno 2] No such file or directory: 'install'

解决:

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

或者尝试:

sudo apt remove cmdtest
sudo apt remove yarn
sudo npm install -g yarn

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注