check if yarn installed code example
Example 1: force yarn to reinstall all packages
yarn install --check-files
Example 2: yarn install specific version
yarn set version <version>
yarn install --check-files
yarn set version <version>