This error message usually indicates that the Yarn package manager is not installed on your system or is not added to your system's PATH environment variable.

To install Yarn on your system, you can follow the instructions provided on the official Yarn website.

After installing Yarn, make sure to add it to your system's PATH environment variable so that it can be accessed from any directory. You can do this by adding the following line to your .bashrc or .bash_profile file:

export PATH="$PATH:yarn global bin"

Once you have added Yarn to your system's PATH, close and reopen your terminal window or run the command "source ~/.bashrc" or "source ~/.bash_profile" to apply the changes

command not found yarn

原文地址: https://www.cveoy.top/t/topic/gtYa 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录