报错:Error: The project seems to require yarn but it‘s not installed

Start the project after pulling the code

The command line shows:

If this reason occurs, if it is in the project because it exists in the project: yarn .lock file

Solution:

  1. Delete the yarn.lock file and start it again to see if it solves the problem
  2. Or enter in the terminal: npm install -g yarn
    and restart the file after the download is complete

The blogger used the first solution to solve the problem, with pictures:

 

Guess you like

Origin blog.csdn.net/m0_61243965/article/details/130085800