A little late but hopefully useful some. In order to avoid the message, you need to set the version of yarn for the project for example
yarn set version 3.8.7