title: 'yarn' error on a Macbook with M1 chip. bash: yarn: command not found
body: <p>Macbook pro M1 2020 macOS monterey</p>
  <p>I am creating a website using react in VScode.
  I am creating it using create-react-app. To execute this, after installing 'yarn', 'yarn start' is used to check the operation of the web page.<br />
  However, when the laptop is turned off and on, 'yarn start' is not executed in 'terminal'.<br />
  I get the error '<strong>bash: yarn: command not found</strong>'. In npm and node, the 'command not found' error appeared at first, but after setting the PATH, it was resolved by running 'npm update' every time the terminal was restarted.<br />
  However, 'yarn' is not resolved even if PATH is set. How can I solve this?</p>